We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
一:我是在demo中的LLTest2ViewController中实践的。。scrollview+mylayout的结构中使用tableview,列表不加载。。。
代码: 1:tableview UITableView *table = [[UITableView alloc] initWithFrame:CGRectZero style:UITableViewStylePlain]; [self.contentLayout addSubview:table]; table.rowHeight = 44; table.myLeft = 0; table.myRight = 0; //设置初始高度,是因为初始化的高度不够高的话,可以较多的cell就不会触发加载 table.myHeight = MAXFLOAT; table.wrapContentHeight = YES; table.delegate = self; table.dataSource = self; self.tableview = table;
2:cell 用的系统默认的cell
问题: numberOfRowsInSection,heightForRowAtIndexPath触发了。 cellForRowAtIndexPath 不会触发
The text was updated successfully, but these errors were encountered:
Sorry, something went wrong.
群满员了~
No branches or pull requests
一:我是在demo中的LLTest2ViewController中实践的。。scrollview+mylayout的结构中使用tableview,列表不加载。。。
代码:
1:tableview
UITableView *table = [[UITableView alloc] initWithFrame:CGRectZero style:UITableViewStylePlain];
[self.contentLayout addSubview:table];
table.rowHeight = 44;
table.myLeft = 0;
table.myRight = 0;
//设置初始高度,是因为初始化的高度不够高的话,可以较多的cell就不会触发加载
table.myHeight = MAXFLOAT;
table.wrapContentHeight = YES;
table.delegate = self;
table.dataSource = self;
self.tableview = table;
2:cell 用的系统默认的cell
问题:
numberOfRowsInSection,heightForRowAtIndexPath触发了。
cellForRowAtIndexPath 不会触发
The text was updated successfully, but these errors were encountered: