Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -(void)prepareForSegue:(UIStoryBoardSegue *)segue sender:(id)sender {
- if([segue.identifier isEqualToString:@"MyIdentifier"]) {
- // get destination
- CustomViewController *destination = (CustomViewController *)[segue destinationViewController];
- // pass information of some kind
- destination.exampleProperty = @"Hello World";
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement