scrollView

//@property (nonatomic , strong) UIScrollView * historyScrollView;

//-(UIScrollView *)historyScrollView{

//    if (!_historyScrollView) {

//        _historyScrollView =[[UIScrollView alloc] init];

//        [self.view addSubview:_historyScrollView];

//        _historyScrollView.contentSize = CGSizeMake(0, SCREEN_HEIGHT);

//        _historyScrollView.backgroundColor = [UIColor greenColor];

//        _historyScrollView.scrollsToTop = NO; // 点击状态栏的时候,这个scrollView不会滚动到最顶部

//        _historyScrollView.bounces = NO;

//        _historyScrollView.showsHorizontalScrollIndicator = NO;// 指示器

//        _historyScrollView.showsVerticalScrollIndicator = NO;// 指示器

//    }

//    return _historyScrollView;

//}


//    [self.historyScrollView mas_makeConstraints:^(MASConstraintMaker *make) {

//        make.top.mas_equalTo(self.topView.mas_bottom).offset(5);

//        make.left.right.equalTo(self.view);

//        make.height.mas_equalTo(Ww(100));

//    }];

你可能感兴趣的:(scrollView)