对scrollView的属性contentSize contentOffset contentInset个人理解

contentInset 为contentView的四个边于srollview四个边的距离

contentOffset 是contentview的左顶点 于 srollview的左顶点的距离

两者之间没有关系,contentInset决定了contentview滑动到尽头时距离srollview的四个边距,contentOffset决定了contentview在srollview中的位置

posted @ 2013-03-22 18:36  hellocby  阅读(312)  评论(0编辑  收藏  举报