I have a UISplitViewController
. When run in compact
mode the detail views are "pushed" onto the navigation stack like pages (with the back button in the navigation bar).
I would like to simply change the page transition animation from a push from the side, to a modal style animation: i.e., have the detail
view slide in up from the bottom. But only have it animate as a modal when the UISplitViewController
is in compact mode (running on smaller devices - i.e., iPhones, etc).
An image for context:
As you can see, this is a normal page transition, but I would like the detail to slide up like a "page sheet" transition if possible.
I've tried modifying the segue
in Main.storyboard
however that changes the transition even for regular
sizes (i.e., iPads, etc) which makes an additional detail
view slide over the side-by-side view that's seen on regular
sized devices.
Any help is appreciated!