测试已测试 | ✗ |
语言语言 | SwiftSwift |
许可协议 | MIT |
发布最新发布 | 2017年10月 |
SwiftSwift 版本 | 3.0 |
SPM支持 SPM | ✗ |
由 Prateek kansara 维护。
要运行示例项目,请克隆仓库,并首先从 Example 目录中运行 `pod install`。
PKStatusBarLoader 通过 CocoaPods 提供使用。要安装它,只需将以下行添加到您的 Podfile 中。
// 如何使用
pod "PKStatusBarLoader"
import PKStatusBarLoader
// 使用 [String : Any] 对象更新 UI 元素。调用
// Set the background Color
PKStatusBarLoader.setBackgroundColor(color: UIColor.orange)
// Set header Message
PKStatusBarLoader.show(withMessage: "Yayyy")
// Dismiss status bar
PKStatusBarLoader.dismiss()
作者
PKStatusBarLoader.setupLoaderUI(data: [
kPKStatusBarLoaderBKGColor : UIColor.black,
kPKStatusBarLoaderHeaderTextFont : UIFont.init(name: <Font_Name>, size: 10.0),
kPKStatusBarLoaderHeaderTextColor : UIColor.white,
kPKStatusBarLoaderHeaderTextBKGColor : UIColor.clear
])
PKStatusBarLoader 在 MIT 许可协议下可用。有关更多信息,请参阅 LICENSE 文件。
CocoaPods 是由