Everyone. I've got an iOS6 ipad app to update. The problem I met is that only one view controller needs autorotate, and I don't find out the correct method to do this.
I've tried the following link and it partly helped: Only having one view autorotate in xcode?
But when I rotate the viewController, its status bar doesn't rotate with the view and the title of the view doesn't stay in the center as I set.
I add breakpoints in the viewController, and find that only when the device is landscape does it calls - (void)willRotateToInterfaceOrientation:(UIInterfaceOrientation)toInterfaceOrientation duration:(NSTimeInterval)duration
.
I wonder if anyone can tell me where the bug hides and how to fix it. Thanks in forward.