In the APP is first started calling SCrollView, lead you to the application.
//user can't clic
pc.userInteractionEnabled = NO;
-(void)scrollViewDidScroll:(UIScrollView *)scrollView
{
CGPoint offset = scrollView.contentOffset;
self.pc.currentPage = round(offset.x / scrollView.bounds.size.width);
}
在图片上,添加跳转按钮时,要设置与用户交互
imageV.userInteractionEnabled = YES;