题目内容

由于UITableView继承自UIScrollView,表视图可以滚动展示大量的表格信息。

A. 对
B. 错

查看答案
更多问题

UITableViewCell的重用原理是什么?

解释下面代码段的功能: - (NSIndexPath *)tableView:(UITableView *)tableView willSelectRowAtIndexPath: (NSIndexPath *)indexPath{ NSInteger row=indexPath.row;if (row==3) {return nil; }return indexPath; }

解释下面代码段的功能: NSBundle *bundle = [NSBundle mainBundle]; NSString *filePath = [bundle pathForResource:@"departInfo" ofType:@"plist"]; NSDictionary *allData = [[NSDictionary alloc] initWithContentsOfFile:filePath];

解释下面代码段的功能: -(CGFloat) tableView:(UITableView *)tableViewheightForRowAtIndexPath:(NSIndexPath *)indexPath {return 50;}

答案查题题库