Connecting the Unwind Segues
- Watch the video: https://youtu.be/vg2DVtoYSMY
- Apple Documentation: https://developer.apple.com/library/ios/technotes/tn2298/_index.html
- Apple Documentation: https://developer.apple.com/library/ios/technotes/tn2298/_index.html
- Add the unwindToMainMenu method to the ButtonController class
- You can copy and paste from the Apple Documentation web page
- Disconnect the existing segue from the Back Button
- Go to Tab 6 (Connections Inspector), which looks like an arrow in a circle.
- Click the X next to the existing Triggered Segue.
- 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