I have two view controllers myViewControllerA and myViewControllerB.
myViewControllerA has modalTransitionStyle = UIModalTransitionStyleFlipHorizontal
.
Then I call presentModalViewController:animated:
to load myViewControllerB. After calling dismissModalViewControllerAnimated:
, suddenly all the views of myViewControllerA display shifted up by the height of the status bar.When I repeat the process, the views of myViewControllerA display properly once more.
So, the problems appears only upon the first call of the modal view controller. After dismissing and calling it again everything looks fine again.
What can cause this?