iOS delegate not working with performSegueWithIdentifier?
问题 I have two controllers (first,second) in a storyboard, xcode 4.2. First controller has a tableview and embedded in navigation controller. Second controller has a tableview too and embedded in navigation controller (not same as the first) In first.h: #import "second.h" ... @interface first : UIViewController <secondDelegate, UITableViewDelegate, UITableViewDataSource> ... In first.m: - (IBAction)add:(id)sender // action when tapped a button on topbar { [self performSegueWithIdentifier:@