edgesForExtendedLayout&& extendedLayoutIncludesOpaqueBars&&translucent
来源:互联网 发布:电脑上淘宝怎么发链接 编辑:程序博客网 时间:2024/05/16 15:57
edgesForExtendedLayout:self.view能延伸到屏幕的方向
extendedLayoutIncludesOpaqueBars:延伸的布局是否包括bar,只在不透明的时候有作用
edgesForExtendedLayout = UIRectEdgeNone下,以navigationBar左下为子视图起点,self.view.bounds.size会减去64高度。
edgesForExtendedLayout = UIRectEdgeAll(默认值)navigationBar.translucent = NO,// 不透明extendedLayoutIncludesOpaqueBars = NO时,会以navigationBar左下为子视图起点,self.view.bounds.size会减去64高度
edgesForExtendedLayout = UIRectEdgeAll(默认值)navigationBar.translucent = NO,extendedLayoutIncludesOpaqueBars = YES时,会以左上为起点,self.view.bounds为全屏。
edgesForExtendedLayout = UIRectEdgeAll(默认值),navigationBar.translucent = YES,extendedLayoutIncludesOpaqueBars = YES/NO;都会以左上为起点,self.view.bounds为全屏
参考: http://www.jianshu.com/p/ec56a55c759c
阅读全文
0 0
- edgesForExtendedLayout&& extendedLayoutIncludesOpaqueBars&&translucent
- edgesForExtendedLayout、extendedLayoutIncludesOpaqueBars、automaticallyAdjustsScrollViewInsets属性详解
- edgesForExtendedLayout、extendedLayoutIncludesOpaqueBars、automaticallyAdjustsScrollViewInsets属性详解
- edgesForExtendedLayout、extendedLayoutIncludesOpaqueBars、automaticallyAdjustsScrollViewInsets属性详解
- automaticallyAdjustsScrollViewInsets和edgesForExtendedLayout和extendedLayoutIncludesOpaqueBars
- edgesForExtendedLayout、extendedLayoutIncludesOpaqueBars、automaticallyAdjustsScrollViewInsets属性见解
- iOS7中edgesForExtendedLayout、extendedLayoutIncludesOpaqueBars、automaticallyAdjustsScrollViewInsets的区别
- UIViewController中的edgesForExtendedLayout和extendedLayoutIncludesOpaqueBars属性
- ios7之后的适配属性讲解edgesForExtendedLayout、extendedLayoutIncludesOpaqueBars等
- ios7之后的适配属性讲解edgesForExtendedLayout、extendedLayoutIncludesOpaqueBars等
- 记录一些易忘的属性(translucent,edgesForExtendedLayout,automaticallyAdjustsScrollViewInsets)
- edgesForExtendedLayout
- edgesForExtendedLayout
- edgesForExtendedLayout
- edgesForExtendedLayout
- edgesForExtendedLayout
- edgesForExtendedLayout
- 浅析extendedLayout, automaticallyAdjustsScrollViewInsets, extendedLayoutIncludesOpaqueBars
- CLISP 记录: 1.引言
- 海子博客学习
- 【技术分析】DowginCw病毒家族解析
- NEUQOJ:1204众数问题
- 使用Jprofiler+jmeter进行JVM性能调优
- edgesForExtendedLayout&& extendedLayoutIncludesOpaqueBars&&translucent
- Java8新特性-001-Lambda表达式
- glsl 细分着色器
- 00后又用回QQ了?“微信太老气,适合中年人”,扎心了
- NEUQOJ:1263生日日数
- oracle查询所有表和
- linux安装mysql
- java设计模式--责任链(三)
- sql server code week14