原文:


http://www.cocoachina.com/bbs/read.php?tid=230841

自己自定义一个Dismiss的UIStoryboardSegue类

#import "Dismiss.h"

@implementation Dismiss
- (void)perform
{
	UIViewController *sourceViewController = self.sourceViewController;
	[sourceViewController.presentingViewController dismissViewControllerAnimated:YES completion:nil];
}
@end

然后,链接的时候直接选择dismiss

1.png