I'm using presentModalViewController
and dismissModalViewController
with animation set to YES
in both cases. This works fine.
After the modal view is dismissed, all of the content on the main view has moved down what looks like 20px.
Would anyone have any idea why this happens?
Is this app full screen?
I have seen some strange issues regarding apps that hide the status bar. You may try re-hiding the status bar in viewWillAppear or viewWillDisappear on the modal.