public override void LayoutSubviews() { base.LayoutSubviews(); if (navController.View.Frame != Bounds) { navController.View.Frame = mainView.View.Frame = Bounds; navController.ViewDidAppear(true); } }