label not changing with Segue [duplicate]
问题 This question already has an answer here : How can I set the value of a UILabel following a segue? (1 answer) Closed 6 years ago . I have a label on my DetailViewController and it's not changing when I try to edit it. This is how my code currently looks like - (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender { if ([[segue identifier] isEqualToString:@"MySegue"]) { // Get destination view DetailViewController *vc = [segue destinationViewController]; NSLog(@"Goes here"); vc