How to pass prepareForSegue: an object
Simply grab a reference to the target view controller in prepareForSegue: method and pass any objects you need to there. Here’s an example… – (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 … Read more