In the app I\'m creating, one of the features is that users can submit their own quotes to be displayed in the app. There is one storyboard segue that lets the user enter th
Use the prepareForSegue:sender:
method to pass data from the source to destination view controller:
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender
{
if ([segue.identifier isEqualToString:...]) {
MyViewController *controller = (MyViewController *)segue.destinationViewController;
controller.myProperty1 = ...;
controller.myProperty2 = ...;
}
}