Re: Master - Detail: How to get back?
Re: Master - Detail: How to get back?
- Subject: Re: Master - Detail: How to get back?
- From: "Gerriet M. Denkmann" <email@hidden>
- Date: Wed, 15 Apr 2015 19:18:31 +0700
While my iPhone can use the “DoSomethingAndGoBackToMasterView” button fine,
the same button does nothing for iPad.
Of course iPad does not need an unwinding segue - both master and detail view are always visible (at least in landscape orientation). But the “DoSomething” part is still needed.
Currently the button has a Triggered Segue (used on iPhone) and a Sent Action - obviously ignored, because of the segue.
So the idea: if the app starts on iPad, I could just clear the Triggered Segue and the Sent Action would be used.
But how? UIBarButtonItem has nothing about segues.
Can this be done? Or is there a better way to make my button work both for iPhone and iPad?
Gerriet.
_______________________________________________
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