I have a really strange problem with iOS7
using Storyboards
and the ios simulator
:
I try to update an older project to iOS7
by setting the iOS 6/7 deltas
to adapt to the status bar in Interface builder for a view that I defined in a storyboard. This view is set into a programmatically created UINavigationController
as the root view.
When I do that, the iOS7 iPad simulator shows the right UI - my view is shown under the navigation bar - however, when I run exactly the same code on a real iOS7 iPad, it shows the view 20 pixels too low; in fact if I do not change anything at all with the deltas it shows right on the device.
The thing I do not understand here is why the simulator and the device behave differently in this case - did anyone experience this same problem? With my other projects I don't have this problem, so I think it's either the Storyboard or some other setting that leads to this strange behaviour.
UPDATE:
Interestingly after I installed everything anew on a new MacBook the problem is gone (may also have been the newest Xcode update ...).