iOS开发使用UIScrollView随笔

1、scrollview滚动到固定偏移量contenOffset

- (void)setContentOffset:(CGPoint)contentOffset animated:(BOOL)animated;

 

2、scrollview滚动了可视区域rect

- (void)scrollRectToVisible:(CGRect)rect animated:(BOOL)animated;

 

posted @ 2018-03-22 14:59  ForeverGuard  阅读(145)  评论(0编辑  收藏  举报