contentSize、contentOffset、contentInset
来源:互联网 发布:淘宝买东西物流不更新 编辑:程序博客网 时间:2024/06/06 11:45
contentSize 是scrollview中的一个属性,它代表scrollview中的可显示区域,假如有一个scrollview,它的frame为(0,0,320,480),而它的contentSize为(320,960).也就是说,这个scrollview整个内容的大小为(320,960),要通过上下滑动scrollview来查看(320,480)后的内容。
contentOffset
contentInset 是scrollview中contentView.frame.origin与scrollview.frame.origin的关系,比如contentView的frame为(0,30,320,480),那么contentInset则为(0, 30),
0 0
- contentSize, contentOffset, contentInset区别
- scrollview, contentSize, contentOffset, contentInset
- ios contentSize contentOffset contentInset
- contentSize、contentInset和contentOffset
- IOS:contentSize,contentOffset,contentInset
- contentSize、contentInset和contentOffset
- contentSize、contentInset和contentOffset
- contentSize、contentInset和contentOffset
- contentSize、contentInset、contentOffset关系
- contentSize/contentOffset/contentInset区别
- contentSize、contentInset和contentOffset
- contentSize、contentOffset、contentInset
- contentSize、contentInset和contentOffset
- contentSize、contentInset和contentOffset
- contentSize、contentInset和contentOffset区别
- contentSize、contentInset和contentOffset区别
- contentsize、contentoffset 和contentInset 详解
- contentSize、contentInset和contentOffset区别
- VC++运算符与优先级
- makefile 和shell文件相互调用
- 谁让APP工程师产生了泡沫?
- 在git@osc上有两个码云账号,如何配置互不干扰?
- LeetCode84 --Largest Rectangle in Histogram
- contentSize、contentOffset、contentInset
- 网络编程中的UDP通信
- loadrunner关联技术的一个示例
- Path expected for join!错误处理
- appstore审核的那些事 --1. 卡死在:正在通过 iTunes Store进行鉴定
- 用dbschema工具导出Informix数据库的结构的具体步骤:
- 结构体/枚举/共用体
- SVN:cleanup failed to process the following paths 错误的解决方案
- 2016年个人总结