3
我用魔杖将我的UITableViewCell
的高度设置为我在故事板中指定的高度。获取UITableViewCell的高度
- (CGFloat)tableView:(UITableView *)tableView heightForRowAtIndexPath:(NSIndexPath*)indexPath{
UITableViewCell *cell = [tableView cellForRowAtIndexPath:indexPath];
return cell.frame.size.height;
}
使用此代码,应用程序崩溃。
只有使用[tag:xcode]标签才能了解关于IDE本身的问题。谢谢! – Undo