//当pageControlForReport 滑动的时候 pageControl页码也跟着变化 下边这个方法效果不好 感觉pageControl 反应有点慢
//-(void)scrollViewDidEndDecelerating:(UIScrollView *)sc{
//
// if (sc.tag==2) {
// pageControlForReport.currentPage = sc.contentOffset.x / 320.0;
// }
//}
使用下边的这个方法代替
#pragma mark - 用户手指离开 屏幕 到 将要加速 或者是不到减速的时候 牛 精细
-(void)scrollViewDidEndDragging:(UIScrollView *)sc willDecelerate:(BOOL)decelerate{
if (sc.tag==2&&decelerate==YES) {
pageControlForReport.currentPage = sc.contentOffset.x / 320.0;
}
}