How to change tintColor of UIBarButtonItem? [SWIFT]
来源:互联网 发布:手机上网代理软件 编辑:程序博客网 时间:2024/06/06 13:20
func application(application: UIApplication, didFinishLaunchingWithOptions launchOptions: [NSObject: AnyObject]?) -> Bool { // Changing the status bar's colour to white UIApplication.sharedApplication().statusBarStyle = .LightContent // Changing the navigation controller's background colour UINavigationBar.appearance().barTintColor = UIColor(red: 0.0/255.0, green: 165.0/255.0, blue: 227.0/255.0, alpha: 1.0) // Changing the navigation controller's title colour UINavigationBar.appearance().titleTextAttributes = [NSForegroundColorAttributeName: UIColor.whiteColor()] // Changing the colour of the bar button items UINavigationBar.appearance().tintColor = UIColor.whiteColor() // Changing the tint colour of the tab bar icons UITabBar.appearance().tintColor = UIColor(red: 0.0/255/0, green: 165.0/255.0, blue: 227.0/255.0, alpha: 1.0) return true}
0 0
- How to change tintColor of UIBarButtonItem? [SWIFT]
- How to change text of CBA buttons?
- How to change text of CBA buttons?
- How to change text of CBA buttons?
- How to change text of CBA buttons?
- How to change text of CBA buttons?
- How to change text of CBA buttons?
- How to change text of CBA buttons?
- How to change text of CBA buttons?
- How to change text of CBA buttons?
- how to change text color of CEikEdwin
- How to change instance_number of RAC
- how to change the port of tomcat
- How to change password of Thunderbird
- 设置UIBarButtonItem tintColor
- How To Change the Background Color of a Tab Control
- How to change the name of logfile dynamically using log4j
- How to change the color of a CEikLabel
- java IO流读写文件
- 15_Android性能优化
- java socket 通信编程
- js中巧用cssText属性批量操作样式(转)
- Android中Intent.action的各种常见作用
- How to change tintColor of UIBarButtonItem? [SWIFT]
- C++使用模板特化实现工厂模式
- vim 查看函数列表方法
- HTML5新控件 - 进度条<progress>
- php正则字符串查找替换
- java并发库之Executors常用的创建ExecutorService的几个方法说明
- 前端如何实现商品规格
- 正则表达式入门
- Cortex M3存储器映射