prepareForSegue is not called after performSegue:withIdentifier: with popover style
问题 I have a universal app, where I am sharing the same controller for a IPad and IPhone storyboard. I have put a UILongPressGestureRecognizer on a UITableView, that when a cell is pressed on iPhone it calls an action that perform a segue: -(IBAction)showDetail:(id)sender { UILongPressGestureRecognizer *gesture = (UILongPressGestureRecognizer*)sender; if (gesture.state == UIGestureRecognizerStateBegan) { CGPoint p = [gesture locationInView:self.theTableView]; NSIndexPath *indexPath = [self