开发者

question about viewController and navigationController

So say that I have a table view that has a UINavigationController. On top I have a rightButtonItem that says MAP. Clicking on MAP, will push a MapViewController to the navigationController.

Now on the map I will have a view annotations, clicking on the annotations, I would like to push another开发者_如何转开发 view to the navigationController. My question would be, does the map and the table view have the same or separate UINavigationController?


You have to keep the same navigation controller through out the application.YES All the UIViewControllers make use of the same UINavigationController.

Cheers

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜