ios barTintColor backgroundColor tintColor UITextAttributeTextColor的区别
2016-06-03 14:58
489 查看
accepted | Here are the difference between above : barTintColor : The tint color to apply to the navigation bar background. backgroundColor : change the background color of navigationBar (直接设置backgroundColor 颜色会不正常,要改变navigation bar background 请使用barTintColor) tintColor : The tint color to apply to the navigation items and bar button items. UITextAttributeTextColor : Key to the text color in a text attributes dictionary.The corresponding value is an instance of UIColor. Available in iOS 5.0 and later.Deprecated in iOS 7.0.It’s an easy fix. Just change UITextAttributeTextColor to NSForegroundColorAttributeName |
相关文章推荐
- easyui主界面布局easyui-layout用法一例
- LCD1602
- 347TopKFrequentElements
- iOS--UIAlertView与UIAlertController和UIAlertAction之间的事儿
- Arduino可穿戴开发入门教程Arduino开发环境介绍
- Arduino可穿戴开发入门教程Arduino开发环境介绍
- SSH框架网上商城项目第14战之商城首页UI的设计
- UIAlertController --------实现弹出输入框,进行文本输入,并进行传值
- Android基础知识整合篇——UI(部分)知识点
- 300. Longest Increasing Subsequence
- HDU 3177 Crixalis's Equipment (贪心,差值)
- required——提交时,如果内容为空,则不允许提交
- 334. Increasing Triplet Subsequence
- 2.菜单和按钮-easyUi
- 功能源代码(扇形进度)及Delegate运用在开放事件中、UINavigationController的封装
- Angular 1 Style Guide
- NSString转换为UIImage
- iOS8中提示框的使用UIAlertController(UIAlertView和UIActionSheet二合一)
- 将java.util.Date类型转换成json时,使用JsonValueProcessor将date转换成希望的类型
- iOS开发UI篇—Quartz2D简单介绍