Changes

Jump to: navigation, search

Using Xcode Storyboarding (iOS 6)

110 bytes added, 14:46, 15 October 2012
no edit summary
@interface StoryboardViewController : UIViewController
@property (strong, nonatomic) IBOutlet UIButton UILabel *scene1Label;
@end
</pre>
All that is required of this method for this example is that it set some new text on the label object of scene 1. Once the method has been added, it is important to save the StoryBoardViewController.m file before continuing.
The next step is to establish the unwind segue. To achieve this, locate scene 2 within the storyboard canvas and ctrl-click and drag from the button to the “exit” icon (the green button with the white square and the right facing arrow pointing outward shown in Figure 21-9) in the panel located beneath the view. Release the line and select the returned: method from the resulting menu:

Navigation menu