Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

TableView load issue in ios simulator 64-bit

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.

like image 831
Khawar Ali Avatar asked Jan 17 '14 07:01

Khawar Ali


1 Answers

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.

like image 93
Felix Avatar answered Oct 15 '22 13:10

Felix