开发者

UITabBarController not using NavigationController

开发者 https://www.devze.com 2023-03-20 09:36 出处:网络
I\'m using MonoTouch and my application setup looks something like this, NavController -TabBarController

I'm using MonoTouch and my application setup looks something like this,

NavController -TabBarController -NavController -View1

This works then I click on a tab and am directed to View1. The problem is that this was performed by the tabBarController and not the navigationController. So I get no Back button. Is there a way to capture a TabItemClicked eve开发者_JAVA技巧nt and manually use the NavigationController to push the View1 onto the stack? So I can get a back button.

I'm hiding the TabBar once I get to View1, so at the moment, there is no way back from View1.


Hope it may help you http://21gingerman.wordpress.com/2009/04/06/tutorial-and-sample-code-for-iphone-app-with-tab-bar-and-nav-bar/

0

精彩评论

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