KVAlertController
[](https://travis-ci.org/Vu Van Khac/KVAlertController)
示例
- 更新
要运行示例项目,请首先克隆仓库,然后在 Example 目录中运行 pod install
。
要求
- iOS 10.0+
- Swift 5.0
安装
KVAlertController 通过 CocoaPods 提供。要安装它,请简单地向您的 Podfile 添加以下行
pod 'KVAlertController', '~> 1.0.2'
显示默认警告
KVAlertController.shared.showIn(self, title: "KVAlertController", message: "My fullname is Vu Van Khac", cancelTitle: "CANCEL", cancelAction: {
print("Cancel")
}, submitTitle: "OK", submitAction: {
print("OK")
})
作者
Vu Van Khac, [email protected]
许可证
KVAlertController 在 MIT 许可证下可用。更多信息请查阅 LICENSE 文件。