【文件属性】:
文件名称:URBNAlert:URBNAlert是基于iOS的UIAlertController的可自定义警报视图
文件大小:50KB
文件格式:ZIP
更新时间:2021-03-01 23:07:22
Swift
城市居民
例子
要运行示例项目,请克隆存储库,然后首先从Example目录运行pod install 。
用法
将URBNAlert添加到您的项目Podfile后,使用以下导入行导入URBNAlert:#import URBNAlert
设置警报样式:
var alertStyler = AlertStyler()
// Blur Styling
alertStyler.blur.isEnabled = false
alertStyler.blur.tint = UIColor.red
// Button Styling
alertStyler.button.backgroundColor = UIColor.white
alertStyler.button.highlightBackgroundColor = .UIColor.lightGray
alertStyler.button
【文件预览】:
URBNAlert-master
----.travis.yml(539B)
----Example()
--------URBNAlert.xcodeproj()
--------Podfile(172B)
--------SPMAlertExample()
--------Podfile.lock(489B)
--------URBNAlert.xcworkspace()
--------Tests()
--------URBNSwiftAlert()
----LICENSE(1KB)
----URBNAlert.podspec(626B)
----Sources()
--------URBNAlert()
----Package.swift(903B)
----.gitignore(678B)
----Package.resolved(346B)
----README.md(3KB)