我有一个带有 UITableView
的应用程序,它在 iPhone 模拟器 3.5 英寸和 4 英寸
上完美运行,但在 64 位中无法加载表格模拟器
。可能只是我的 xib
文件或代码有问题,但我只是想知道 64 位 中的
。UITableView
委托(delegate)是否有任何变化>iOS
最佳答案
我遇到了同样的问题。在我的例子中,这个问题可以通过改变来解决
- (float)tableView:(UITableView *)tableView heightForRowAtIndexPath:(NSIndexPath *)indexPath
到
- (CGFloat)tableView:(UITableView *)tableView heightForRowAtIndexPath:(NSIndexPath *)indexPath
就这么简单。
关于ios - 64 位 ios 模拟器中的 TableView 加载问题,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/21180669/