prepareForSegue not called in embedded segue

Viewed 6306

I have a table view controller embedded in a container in a view controller.

In both the view and table view controllers prepareForSegue method I put NSLog(@"name of the controller") I see a log for the view controller but not the table view controller. Shouldn't I also see the nslog for my table view's prepareForSegue?

enter image description here

3 Answers

Other than what's already discussed, you should make sure you aren't ignoring segue identifier in following delegate call.

- (BOOL)shouldPerformSegueWithIdentifier:(NSString *)identifier sender:(id)sender
Related