http://blog.sina.com.cn/s/blog_9592635a0101fuk9.html
-(void)viewWillAppear:(BOOL)animated{
[super viewWillAppear:animated];
//开启ios右滑返回
if ([self.navigationController respondsToSelector:@selector(interactivePopGestureRec
ognizer)]) {
self.navigationController.interactivePopGestureRec
ognizer.delegate = nil;
}
}
ios自定义返回按钮
UIBarButtonItem *leftBar = [[UIBarButtonItem alloc] initWithImage:[UIImage imageNamed:@"back_SM"] style:UIBarButtonItemStylePlain target:self action:@selector(backUpClick) ];
leftBar.tintColor = [UIColor whiteColor];
self.navigationItem.leftBarButtonItem = leftBar;