Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LYFTableView 初始化时添加 #1

Open
adampei opened this issue Jan 15, 2020 · 0 comments
Open

LYFTableView 初始化时添加 #1

adampei opened this issue Jan 15, 2020 · 0 comments

Comments

@adampei
Copy link

adampei commented Jan 15, 2020

指示器verticalScrollIndicator从刷新位置开始

self.verticalScrollIndicatorInsets = UIEdgeInsetsMake(100, 0, 0, 0);

-(instancetype)initWithFrame:(CGRect)frame style:(UITableViewStyle)style {
    if (self = [super initWithFrame:frame style:style]) {
        self.dataSource = self;
        self.delegate = self;
        self.verticalScrollIndicatorInsets = UIEdgeInsetsMake(100, 0, 0, 0);
        [self registerClass:[UITableViewCell class] forCellReuseIdentifier:cellId];
    }
    
    return self;
}

001

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant