美文网首页
scrollView

scrollView

作者: adalillian | 来源:发表于2020-08-03 22:38 被阅读0次

    //@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

          本文链接:https://www.haomeiwen.com/subject/ljydrktx.html