我用的是系统的导航,然后自定义了返回按钮,
  //修改导航栏
    UIBarButtonItem *leftBtn = [[UIBarButtonItem alloc] initWithTitle:@"返回" style:UIBarButtonItemStyleDone target:self action:@selector(backAction)];
    self.navigationItem.leftBarButtonItem = leftBtn;
之后再网上找到这个方法
    //恢复自定义返回按钮后返回手势失效
    self.navigationController.interactivePopGestureRecognizer.delegate = (id)self;我跳转到详情的代码
 //创建一个详情对象
    NewsDetailVC *detailVC = [[NewsDetailVC alloc] init];
    detailVC.url = model.url;
    //隐藏tabBar
//    self.tabBarController.tabBar.hidden = YES;
    detailVC.hidesBottomBarWhenPushed = YES;
    [self.navigationController pushViewController:detailVC animated:YES];
返回时的代码:
//    self.tabBarController.tabBar.hidden = NO;
  self.hidesBottomBarWhenPushed = NO;
   [self.navigationController popViewControllerAnimated:YES];
当我使用self.tabBarController.tabBar.hidden时 手势返回时标签栏不能恢复显示
然后我使用detailVC.hidesBottomBarWhenPushed = YES;+ self.hidesBottomBarWhenPushed = NO;时就可以
求大神解答