title: How to fix navigation inside MvxTabViewController for IOS in Xamarin mvvmcross project?
body: <p>Inside my application I have LoginView and after that MainView which is MvxTabBarViewController with two tabs.  Here is my code for MainView:</p>
  
  <pre><code>   public class MainView : MvxTabBarViewController&lt;MainViewModel&gt;
      {
          private bool _constructed;
          public MainView()
          {
              _constructed = true;
  
              // need this additional call to ViewDidLoad because UIkit creates the view before the C# hierarchy has been constructed
              ViewDidLoad();
          }
  
          public override void ViewDidLoad()
          {
              if (!_constructed)
                  return;
  
              base.ViewDidLoad();
  
  
  
              Title = "SampleTabs";
              View.BackgroundColor = UIColor.Red;
  
              var viewControllers = new List&lt;UIViewController&gt;();
              viewControllers.Add(CreateTabFor("Second", ViewModel.TabEvents, 0));
              viewControllers.Add(CreateTabFor("First", ViewModel.TabDashboard, 1));
  
  
              ViewControllers = viewControllers.ToArray();
              CustomizableViewControllers = new UIViewController[] { };
  
  
           //   SelectedViewController = ViewControllers[1];
          }
  
          private UIViewController CreateTabFor(string title, IMvxViewModel viewModel, int index)
          {
  
              var controller = new UINavigationController();
  
              var screen = this.CreateViewControllerFor(viewModel) as UIViewController;
              screen.Title = title;
  
  
  
  
              // screen.TabBarItem = new UITabBarItem(title, null, index);
  
  
  
              screen.TabBarItem = new UITabBarItem(UITabBarSystemItem.Search, index);
  
  
            controller.PushViewController(screen, false);  
             controller.NavigationBarHidden = true;
  
              return controller;
          }
      }
  </code></pre>
  
  <p>Problem is with tab items, I can't change it to second after initial tab is showed. Tabs are simple with only background color change. Any help is welcome.</p>