iOS 网络编程 UIScrollView contentsize contentoffset 和contentinset的区别
来源:互联网 发布:网络的利与弊征文 编辑:程序博客网 时间:2024/05/07 11:20
contensize:
contentSize是scrollview可以滚动的区域,比如frame = (0 ,0 ,320 ,480) contentSize = (320 ,960),代表你的scrollview可以上下滚动,滚动区域为frame大小的两倍。
conttentoffset:
contentOffset是scrollview当前显示区域顶点相对于frame顶点的偏移量,比如你把一个view拖到屏幕的最下面,contentoffset就是(0 ,480),也就是y偏移了480
contentinset:
contentInset是scrollview的contentview的顶点相对于scrollview的位置,例如你的contentInset = (0 ,100),那么你的contentview就是从scrollview的(0 ,100)开始显示 0 0
- iOS 网络编程 UIScrollView contentsize contentoffset 和contentinset的区别
- IOS中UIScrollView的contentSize、contentOffset和contentInset属性
- IOS中UIScrollView的contentSize、contentOffset和contentInset属性
- IOS中UIScrollView的contentSize、contentOffset和contentInset属性
- IOS中UIScrollView的contentSize、contentOffset和contentInset属性
- IOS中UIScrollView的contentSize、contentOffset和contentInset属性
- IOS中UIScrollView的contentSize、contentOffset和contentInset属性
- IOS中UIScrollView的contentSize、contentOffset和contentInset属性
- IOS中UIScrollView的contentSize、contentOffset和contentInset属性
- iOS中UIScrollView的frame、contentSize、contentOffset和contentInset属性
- IOS中UIScrollView的contentSize、contentOffset和contentInset属性(转)
- UIScrollView的contentSize、contentOffset、contentInset
- contentsize和contentoffset 还有contentInset的区别
- scrollView的contentsize、contentInset和contentOffset区别
- IOS开发—UIScrollView的contentSize、contentInset、contentOffset的理解
- contentSize、contentInset和contentOffset区别
- contentSize、contentInset和contentOffset区别
- contentSize、contentInset和contentOffset区别
- jQuery原型方法.pushStack源码分析
- JAVA—Day01
- java虚拟机_jvm(1)
- 井字棋C++控制台( ̄~ ̄) 嚼!
- 在eclipse上以link方式安装CDT插件
- iOS 网络编程 UIScrollView contentsize contentoffset 和contentinset的区别
- 【MySQL学习】MySQL PHP 语法
- linux下解压命令大全
- 在WPF中内嵌WindowsForm控件-使用WindowsFormsControlLibrary
- VELT-0.1.5开发:在VS2013下进行python开发
- 如何定位Android NDK开发中遇到的错误
- 在Exchange 2003中使用RBL进行垃圾邮件过滤的方法
- Max_Flow dinic
- HDOJ 5288 OO’s Sequence 水