• 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: Can't connect to Exit in IB
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Can't connect to Exit in IB


  • Subject: Re: Can't connect to Exit in IB
  • From: Quincey Morris <email@hidden>
  • Date: Fri, 24 Jan 2014 16:01:49 -0800

On Jan 24, 2014, at 14:03 , Rick Mann <email@hidden> wrote:

I put an IBAction into both the presenting and presented view controllers, with different names. I control-drag from a button in my presented view controller (which has a modal segue from the presenting VC) to the green Exit target, but it doesn't highlight as a possible target and no actions come up in the menu.

What's going on?

You have to read the documentation very, very carefully. The Exit item represents an unwind segue, and you need something in your project to have an unwind segue action method, which looks like this:

- (IBAction) unwindMySegue: (UIStoryboardSegue*) sender

If the type of the parameter is anything other than UIStoryboardSegue*, the action won’t appear in the Exit popup.

 _______________________________________________
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

  • Prev by Date: Re: Pointer signedness
  • Next by Date: Re: Can't connect to Exit in IB
  • Previous by thread: RE: Pointer signedness
  • Next by thread: Re: Can't connect to Exit in IB
  • Index(es):
    • Date
    • Thread