【发布时间】:2017-01-28 13:15:17
【问题描述】:
我最近更改了我的 app structure 以包含一个 UINavigationController 作为我的 hierarchy 的基础,并且我让它的根 viewController 实现了 UINavigationControllerDelegate 协议以实现 custom segues。
我的viewController 实现navigationController:animationControllerForOperation:fromViewController:toViewController:。
我的问题有两个:
-
navigationController.delegate方法未被调用。 -
navigationBar未在通过storyboardSegues类型的show推送的views中调用。
prepareForSegue:sender: 函数正在被调用。
这是我的用户界面:
【问题讨论】:
标签: ios objective-c uinavigationcontroller uinavigationbar uistoryboardsegue