public TabBarViewControllerView() : base("TabBarViewControllerView", null) { Delegate = new TabBarViewControllerDelegate(); TabBarViewController = new MDTabBarViewController(Delegate); TabBarViewController.SetItems(new NSObject [] { new NSString("FIRST TAB"), new NSString("SECOND TAB"), new NSString("THIRD TAB"), new NSString("FOURTH TAB"), new NSString("FIFTH TAB"), new NSString("SIXTH TAB"), new NSString("SEVENTH TAB"), new NSString("EIGHTH TAB"), new NSString("NINTH TAB"), new NSString("TENTH TAB") }); }
public override UIViewController ViewControllerAtIndex(MDTabBarViewController viewController, nuint index) { TabContentViewController controller = new TabContentViewController("Tab " + (index + 1)); return(controller); }