2
我使用Xamarin.Forms MasterDetailPage和ContentPage与Navigataion。 当应用程序开始时我打电话LoginPageXamarin表单更改主页ios错误
Application.Current.MainPage = new NavigationPage(new LoginInPage());
然后登录是成功,我叫MasterDetailPage
App.Current.MainPage = new RootPage();
await Navigation.PopToRootAsync();
在Android中所有的工作都是很好的,但在iPhone模拟器有错误
在Main.cs未处理异常: System.NullReferenceException:未将对象引用设置为对象的实例
iOS上
UIApplication.Main(args, null, "AppDelegate");