模态跳转加导航栏、
昨天改项目发现经常用的push跳转突然不能用了 查看了代码才知道原来这个页面的是上个页面模态跳转过来的,所以需要把导航栏也带过来
//chooseVC是你需要跳转的视图
UINavigationController * navigation = [[UINavigationController alloc]initWithRootViewController:chooseVC];
[self presentViewController:navigation animated:YES completion:^{
chooseVC.view.backgroundColor=[UIColor colorWithPatternImage:viewImage];
}];