TestsTested | ✗ |
LangLanguage | SwiftSwift |
License | MIT |
ReleasedLast Release | Aug 2015 |
SPMSupports SPM | ✗ |
Maintained by Ryosuke Hiramatsu.
Customize your status bar like iOS 9.
「◀︎Back to Safari」 and 「apple.com▶︎」
override func viewDidLoad() {
super.viewDidLoad()
let parameter = StatusViewParameter()
parameter.leftItem = StatusViewItem(title: "◀︎Back to Safari") {
UIApplication.sharedApplication().openURL(NSURL(string: "http://yahoo.co.jp")!)
}
parameter.rightItem = StatusViewItem(title: "apple.com▶︎") {
UIApplication.sharedApplication().openURL(NSURL(string: "http://apple.com")!)
}
parameter.backgroundColor = navigationController?.navigationBar.barTintColor
parameter.textColor = UIColor.whiteColor()
StatusViewManager.show(parameter)
}
Just add the Pod/Classes folder to your project.
StatusBarKit is available under the MIT license. See the LICENSE file for more info.