Reputation: 814
In The attached screen shots the code is the same.
The only differennce is - one was built with iOS SDK 5 (which shows OK) and the other with SDK 7 (which is presented on the screen with offset - BAD).
The screen output in IOS7 has unwanted vertical offset. The blue rectangle area in SDK5 is painted over in IOS7.
How can I have the same screen output the same in IOS7 as it was before?
Upvotes: 0
Views: 35
Reputation: 1865
You should try to fix this with with the Extend Edges
settings.
Your content vc should have something like this settings (in the IB):
The same can be done in code:
self.edgesForExtendedLayout = UIRectBottom;
self.extendedLayoutIncludesOpaqueBars = YES;
Upvotes: 1