iOS Pushing a navigation controller is not supported

崩溃:

*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: 'Pushing a navigation controller is not supported'


原因:

如果push的对象是继承自UINavigationController, 则存在 NavigationController管理 NavigationController对象。

存在冲突,于是就报错!

你可能感兴趣的:(iOS Pushing a navigation controller is not supported)