Animals Tutorial Lesson 7

Connecting the Unwind Segues


  1. Add the unwindToMainMenu method to the ButtonController class
  2. You can copy and paste from the Apple Documentation web page
  3. Disconnect the existing segue from the Back Button
  4. Go to Tab 6 (Connections Inspector), which looks like an arrow in a circle.
  5. Click the X next to the existing Triggered Segue.
  6. Control-drag from the Back button to the Exit button (the third icon in the top bar of the view controller in the storyboard).

No comments:

Post a Comment