Can't make an adaptive segue push
Can't make an adaptive segue push
- Subject: Can't make an adaptive segue push
- From: Roland King <email@hidden>
- Date: Fri, 06 May 2016 20:49:31 +0800
I have a navigation controller as the detail pane of a UISplitView (pretty much right from the standard splitview template).
Now I want to push another view onto that stack. I have the view, I’ve dragged out a segue to connect it up however none of the available ‘adaptive segues’ do a ‘push’. Even the ‘Show (Push)’ one doesn’t push, it replaces the view entirely and removes the nav controller.
If I use the deprecated ‘push’ segue, then it pushes, but it’s deprecated and gives me a handy yellow triangle warning me of such.
Am I falling foul of the splitview controller’s adaptation here somehow? I’m a little hazy on the way adaptive segues work but it feels like the ‘show’ is being sent up to and interpreted by the splitview controller and doing a replace on the detail pane instead of a push. But it could be something entirely different.
I could hook the button up to make the new view controller and push it instead of using a segue, but I’d rather not. Is there a way I can make ‘Show’ do a ‘Push’?
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden