'Push segues can only be used when the source controller is managed by an instance of UINavigationC

 

'Push segues can only be used when the source controller is managed by an instance of UINavigationC

今天进行多控制器拖拽的时候报错: 'Push segues can only be used when the source controller is managed by an instance of UINavigationC

---主要的原因是导航控制器 没用设置为 initial view controller.设置了一下就不报错了。

原文地址:https://www.cnblogs.com/wangxiaorui/p/5259206.html