views:

121

answers:

1

here i am using presentModalViewController and dismissModalViewController with animation set to "YES" in both cases. Which works fine.

However, after the modal view is dismissed, all of the content on the main view has moved up what looks like 20px.Its effect all the viewcontroller.

Any idea why did it happen and how to overcome it.

A: 

Have you messed with your views' autoresize mask. Also, are you hiding the status bar? If both are true, then this is the problem.

jrtc27