Re: UINavigationController
Re: UINavigationController
- Subject: Re: UINavigationController
- From: Quincey Morris <email@hidden>
- Date: Wed, 30 Nov 2016 01:37:02 -0800
- Feedback-id: 167118m:167118agrif8a:167118s5fUrpI8vk:SMTPCORP
On Nov 30, 2016, at 00:44 , Gerriet M. Denkmann <email@hidden> wrote:
Tapping the UIBarButtonItem in the Main scene should make the UINavigationController segue to the SettingsViewController. How to set this up in Xcode?
Is this a trick question, or just a where-the-hell-is-it question?
Select the button, go to Connections Inspector, find Triggered Segues section, drag from the circle beside “action” to the SettingsViewController.
If you also need to unwind from the SettingsViewController back to wherever it came from, remember to create an action with this signature:
- (IBAction) unwindToWherever: (UIStoryboardSegue*) sender
(It’s the parameter type that’s important.) Then you can connect the Triggered Segue action to the Exit button on the SettingsViewController in the canvas. It’s ridiculously hard to figure this out if you’ve forgotten the signature rule.
|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden