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

来源:互联网 发布:中国远征军知乎 编辑:程序博客网 时间:2024/06/05 01:16

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

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

0 0