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
精彩评论