Domanda

I have an application with a UITableView that works perfectly on iPhone Simulator 3.5-inch and 4 inch but doesn't load table in the 64-bit Simulator. May be it's just that something is wrong with my xib file or code, but I just wanted to know if there are any changes in UITableView delegates in the 64-bit iOS.

È stato utile?

Soluzione

I had the same Problem. In my case the problem could be solved by changing

- (float)tableView:(UITableView *)tableView heightForRowAtIndexPath:(NSIndexPath *)indexPath

to

- (CGFloat)tableView:(UITableView *)tableView heightForRowAtIndexPath:(NSIndexPath *)indexPath

As simple as that.

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top