If I understood it correctly, you want to switch to the "main" tab
andopen something inside of that tab?
There is a TabBarController reference on your view controllers
whichhas the property SelectedIndex, which you can set to 0 to get
thefirst tab,1 to get the second tab and so on. Then you could do
something inViewWillAppear to make it view the correct content.
On Mon, Nov 21, 2011 at 9:16 PM, fsantanac <[email protected]> wrote:
> Hi, i have a tabbar control like the contentcontrol project example. Is this:
>
>                        medicaTabNavController = new UINavigationController();
>                        medicaTabNavController.TabBarItem = new UITabBarItem();
>                        medicaTabNavController.TabBarItem.Title = "Medicam.";
>                        medicaTabNavController.TabBarItem.Image = 
> UIImage.FromBundle
> ("Images/pastilla");
>                        medicalViewController = new
> MedicalViewController(medicaTabNavController,"", "");
>                        
> medicaTabNavController.PushViewController(medicalViewController, false);
> ....
>
>                        var viewControllers = new UIViewController[] {
>                                medicaTabNavController,
>                                efectosTabNavController,
> ....
>
> All ok, my problem is that my tabbar have six tabitem, then, two is in the
> "more" tab. In this tab (more) i have a viewcontroller that must open a
> viewcontroller in the main tab, how can do this?
>
> Thanks and sorry for my english
>
> --
> View this message in context: 
> http://monotouch.2284126.n4.nabble.com/tabbar-more-tab-tp4093024p4093024.html
> Sent from the MonoTouch mailing list archive at Nabble.com.
> _______________________________________________
> MonoTouch mailing list
> [email protected]
> http://lists.ximian.com/mailman/listinfo/monotouch
>



-- 
Med Venlig Hilsen / With Best Regards
Tomasz Cielecki
http://ostebaronen.dk
_______________________________________________
MonoTouch mailing list
[email protected]
http://lists.ximian.com/mailman/listinfo/monotouch

Reply via email to