测试
#pragma mark - 创建滚动视图 - (UIScrollView *)mainScrollView { if (!_mainScrollView) { _mainScrollView = [[UIScrollView alloc] initWithFrame:CGRectMake(0, self.headerView.bottom, PhoneScreen_WIDTH, PhoneScreen_HEIGHT-64-44)]; _mainScrollView.pagingEnabled = YES; _mainScrollView.delegate = self; _mainScrollView.bounces = NO; _mainScrollView.showsHorizontalScrollIndicator = NO; _mainScrollView.showsVerticalScrollIndicator = NO; _mainScrollView.backgroundColor = [UIColor orangeColor]; _mainScrollView.contentSize = CGSizeMake(PhoneScreen_WIDTH *ButtonCount, _mainScrollView.height); } return _mainScrollView; }