iOS 导航栏navigation的translucent属性 影响半透明状态
来源:互联网 发布:北京 室内 篮球场 知乎 编辑:程序博客网 时间:2024/05/19 14:38
- <pre name="code" class="objc">//适配ios7
- if( ([[[UIDevice currentDevice] systemVersion] doubleValue]>=7.0)) {
- // self.edgesForExtendedLayout=UIRectEdgeNone;
- self.navigationController.navigationBar.translucent = NO;
- }
当translucent设置为NO时,效果是这样的:
- self.navigationController.navigationBar.translucent = YES;
当translucent设置为YES时,导航栏呈现半透明效果,是这样的:
- 顶
- 1
0 0
- iOS 导航栏navigation的translucent属性 影响半透明状态
- iOS 导航栏navigation的translucent属性 影响半透明状态
- iOS 导航栏navigation的translucent属性 影响半透明状态
- translucent影响半透明的状态
- iOS导航栏的translucent属性
- IOS导航栏translucent对6plus适配的影响
- iOS 导航栏属性 透明属性translucent 偏移64 滑动视图内容自动向下偏移的问题总结
- iOS tabbar的translucent属性
- 导航栏 translucent 属性IOS7 全新解释
- iOS NavigationBar 导航栏背景颜色和避免因为设置属性translucent引起的frame改变问题
- iOS navigationBar translucent属性
- IOS7 导航栏适配--translucent属性设置的问题
- iOS设置translucent引发的导航栏色差和坐标问题
- iOS设置translucent引发的导航栏色差和坐标问题
- IOS 导航栏 设置半透明 跳转黑边的问题
- iOS-设置navigation导航栏标题的颜色
- iOS开发之导航栏Navigation Controller的使用
- ios自定义导航navigation,设置navigation的背景图,navigation左边按钮,以及navigation字体颜色
- Java定义数组
- 前端框架
- 使用jdbc更新数据时间时如何屏蔽各种数据库的差异性
- Matlab Tricks(二)—— 空参空返回值的函数
- 第11周阅读程序(3)
- iOS 导航栏navigation的translucent属性 影响半透明状态
- C++ 容器vector
- Android6.0运行时权限学习总结
- ibatis removeFirstPrepend失效解决方法
- APPLE推送通知APNS
- 让 SVN (TortoiseSVN)提交时忽略bin和obj目录
- 头文件ctype.h
- 关于MyEclipse中lib导包和buildpath的区别
- AppDelegate