我有两个视图(在一个soryboard里面),a有navigation,b没有,a连b用的modal方式。现在我在b视图,由于某些原因必须用代码跳转到a,所以有了下面代码。。
UIStoryboard *storyboard = self.storyboard;
//此identifier在storyboard上相应页面对应的设置里填写,必须保持一致
UIViewController *Identifier = [storyboard instantiateViewControllerWithIdentifier:@"ClockListIdentity"];
[self presentViewController:Identifier animated:YES completion:nil];
这样倒是能跳到a,但是 navigation栏消失了,,请问应该怎么写。。。