1、scrollview滚动到固定偏移量contenOffset
- (void)setContentOffset:(CGPoint)contentOffset animated:(BOOL)animated;
2、scrollview滚动了可视区域rect
- (void)scrollRectToVisible:(CGRect)rect animated:(BOOL)animated;
1、scrollview滚动到固定偏移量contenOffset
- (void)setContentOffset:(CGPoint)contentOffset animated:(BOOL)animated;
2、scrollview滚动了可视区域rect
- (void)scrollRectToVisible:(CGRect)rect animated:(BOOL)animated;
转载于:https://www.cnblogs.com/xianfeng-zhang/p/8623901.html