I am using a UINavigationController
inside the Master View of a UISplitViewController
. Inside of my UINavigationController
I have, as usual, a UITableViewController
. Selecting a cell in this table view pushes a new UINavigationItem
onto the stack. This transition occurs as I expect. However, once I've pushed, when I push the Back button, the transition back to the top UINavigationItem
doesn't slide from left to right as usual. Instead, the screen goes black, the Master View holding the UINavigationController
/UITableViewController
slides down in the center of the screen from the top, and then the UINavigationController appears back on the left side where I expect it. I've found similar questions, but all of the accepted answers revolve around not handling rotation correctly. I've double-checked that all of my view controllers return YES
for all orientations.
implementing the following in my view controllers solved it for me
-(NSUInteger)supportedInterfaceOrientations
{
return UIInterfaceOrientationMaskAll;
}
Hope it works for you as well
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With