protected override void CustomPlatformInitialization(MasterDetailPage mainPage) { _window.RootViewController = mainPage.CreateViewController(); }