Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- - (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender
- {
- // Make sure your segue name in storyboard is the same as this line
- if ([[segue identifier] isEqualToString:@"YOUR_SEGUE_NAME_HERE"])
- {
- // Get reference to the destination view controller
- YourViewController *vc = [segue destinationViewController];
- // Pass any objects to the view controller here, like...
- [vc setMyObjectHere:object];
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement