Hello everyone,
Currently I'm facing a minor problem regarding the DialogViewController.
In the AppDelegate I've got the following code to produce a
TabBarController AND NavigationController:
// Creating the NavigationControllers and TabBarItems
tabNavControllers = new UINavigationController[]
{
new UINavigationController(dialog)
{
TabBarItem = new UITabBarItem("Home", UIImage.FromBundle("Images/house.png")
,0)
}
} ;
// Assign the NavigationControllers to the TabBarController
tabController.SetViewControllers(tabNavControllers, false);
The problem is that I'm pushing a DialogViewController (dialog) to the
TabBar. This means my RootElement (so the UI) has to be in the AppDelegate,
which I dont want.
Basicly what I want is a class that has all the UI Elements of the
DialogViewController. In the Appdelegate I can instantiate this class and
pass it to the TabBar.. but how can I accomplish this? or is this just not
possible?
Regards,
Mittchel
_______________________________________________
MonoTouch mailing list
[email protected]
http://lists.ximian.com/mailman/listinfo/monotouch