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 15:59:57 +0700
> On 15 Apr 2015, at 15:37, Quincey Morris <email@hidden> wrote:
>
> On Apr 15, 2015, at 01:18 , Gerriet M. Denkmann <email@hidden> wrote:
>>
>> In DetailViewController I added:
>>
>> - (IBAction)unwindToMainMenu:(UIStoryboardSegue*)sender
>
> I dunno offhand, but you originally said you’re trying to go back to the master view controller, and the tech note says that the destination needs to implement the action method. It looks like you implemented in the source (detail view controller) instead.
I moved the unwindToMainMenu to the MasterViewController, then control dragged from my button to the red Exit symbol in the Master Scene.
An “Unwind segue” appeared in the Detail Scene. Does not need an identifier.
Now it works fine.
Thank you very much!
Kind regards,
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