I have installed latest xcode6 GM. I have opened the existing project and changed it to use size class. The problem i am facing is i have table view in which cell height is 50. While i run it different simulator, all have the same output. But when i create new project and all the cell are of same height, but in the existing the project cell height are differed.
How should i adapt the same height for cell using adaptive layout for existing project.
2 Answers 2
In the apps running in the compatibility mode, the size classes will not work.
Once you provide the launching image for iPhone 6 and 6 plus, then the size class will apply for your screen (If you implemented).
Also, you can still submit the apps without launching image for iPhone 6 and 6 plus, so that it will run in compatibility mode. Refer: Can i still publish iOS apps without iPhone 6 launch images (apps that run in scale mode only)?
Hope this helps..
1 Comment
Have you tried
- (CGFloat)tableView:(UITableView *)tableView heightForRowAtIndexPath:(NSIndexPath *)indexPath{
return 50;
}
I believe that's the proper way to set the height to a cell (unless you've got some custom cells in Interface Builder)