- (void)viewDidLoad {
[superviewDidLoad];
//重新给interactivePopGestureRecognizer.delegate挂代理
self.navigationController.interactivePopGestureRecognizer.delegate = (id)self;
self.navigationController.interactivePopGestureRecognizer.enabled = YES;
// 设置导航默认标题的颜色及字体大小
if ([[UIDevicecurrentDevice].systemVersionintValue]>7.0) {
self.navigationController.navigationBar.titleTextAttributes = @{NSForegroundColorAttributeName: [UIColorwhiteColor],NSFontAttributeName : [UIFontboldSystemFontOfSize:17]};
}
}