草庐IT

numbersOfRowInSection

全部标签

ios - cellForRowAtIndexPath 未被调用但 numbersOfRowInSection 是

我的项目中有一个for循环:for(inti=0;i我有这样的数据源方法:-(NSInteger)tableView:(UITableView*)tableViewnumberOfRowsInSection:(NSInteger)section{NSLog(@"Count:%lu",(unsignedlong)array.count);return[arraycount];}-(UITableViewCell*)tableView:(UITableView*)tableViewcellForRowAtIndexPath:(NSIndexPath*)indexPath{NSLog(@"R