swift 中 pushViewController不执行
文档解释是:
If the view controller or one of its ancestors is a child of a navigation controller, this property contains the owning navigation controller. This property is nil if the view controller is not embedded inside a navigation controller.
意思是执行这个方法的对象必须是UINavigationController或者是UINavigationController的子类