UINavigationBar属性设置
来源:互联网 发布:淘宝店最高收入多少 编辑:程序博客网 时间:2024/05/21 11:11
UINavigationBar *bar = [UINavigationBar appearance]; //导航栏颜色 bar.barTintColor = [UIColor colorWithRed:147/255.0f green:194/255.0f blue:220/255.0f alpha:1.0f]; //设置导航栏不透明 bar.translucent = NO; //设置导航栏左右按钮的颜色 bar.tintColor = [UIColor whiteColor]; //设置导航栏中间文字主题 [bar setTitleTextAttributes:@{NSFontAttributeName: [UIFont systemFontOfSize:17],NSForegroundColorAttributeName : [UIColor whiteColor]}]; //设置当行兰背景图片 [bar setBackgroundImage:[UIImage imageNamed:(nonnull NSString *)] forBarMetrics:UIBarMetricsDefault];
1 0
- UINavigationBar属性设置
- UINavigationBar 和 UITabBarItem 属性设置
- iOS uinavigationbar的一些属性设置
- IOS学习:设置导航栏(UINavigationBar)属性
- iOS开发--一些UINavigationBar属性的设置
- UINavigationBar-设置
- UINavigationBar设置
- 自定义UINavigationBar的属性
- UINavigationBar translucent属性
- UINavigationBar 设置背景图片
- 设置UINavigationBar为半透明
- UINavigationBar设置背景图片
- UINavigationBar 背景设置
- UINavigationBar 自定义,title设置
- UINavigationBar设置全透明
- UINavigationBar基本设置
- uinavigationBar常用设置
- UINavigationBar 的设置
- OpenCV【1】---OpenCV2.4.11 Build for QT 5.5.0 of Win7
- 山东省第五届蓝桥杯 ///标题:李白打酒//c/c++组
- BFPTR算法(中位数的中位数算法)求n个数中第k大的数
- HDU 1756 Cupid's Arrow(判断点是否在任意多边形上且包括边)
- restart css3 animation
- UINavigationBar属性设置
- APP发布过程中的小问题
- python的urllib和urllib2的区别
- Viewpager的监听事件
- 组合问题
- 华为机试day1
- HttpClient和HttpURLConnection获取服务器返回的内容
- Android 开发百度地图之一基础地图
- python程序的优化经验