When on iPhone 5, UITableView cuts off in 3.5 inch format

interface-builder, ios, iphone-5, objective-c, xcode

Solution

You probably don't have the proper autoresizing masks set. Try to set the mask to just `UIViewAutoresizingFlexibleWidth | UIViewAutoresizingFlexibleHeight`.

Problem

For some reason, the `UITableView` cuts off when on an iPhone 5. Instead of seeing the table view on the entire screen, I just see a blue background. Basically, it's behaving like I'm using a 3.5" inch screen. The only time it does work is when I set the view to "Retina 4 Full Screen" in Simulated Metrics. But the problem with that is then I have the opposite problems with 3.5 inch screens. Here are a couple of pictures (the view is currently set to "Freeform" in Simulated Metrics): I have tried looking for similar questions, but none have helped. If it helps, I do have a MainWindow.xib. I am testing this using the iPhone 6.0 Simulator as well as an iPhone 4S 16GB. I will update this question if anything looks unclear. Any help is appreciated. Thank you.

Original source