• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: UINavigationController
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: UINavigationController
      • From: "Gerriet M. Denkmann" <email@hidden>
References: 
 >UINavigationController (From: "Gerriet M. Denkmann" <email@hidden>)

  • Prev by Date: UINavigationController
  • Next by Date: Re: UINavigationController
  • Previous by thread: UINavigationController
  • Next by thread: Re: UINavigationController
  • Index(es):
    • Date
    • Thread