Cannot open a new page on iOS?

SodiKZ125SodiKZ125 Member ✭✭
edited June 20 in Xamarin.Forms

Hi there is there anybody that knows why I receive an error when using await Navigation.PushAsync(new LoginPage()); to open up a new page. This works fine on Android for me but when on my Macbook and running the iOS Simulator it breaks on this line:

UIApplication.Main(args, null, "AppDelegate");

The error is saying One of the Identified items was in an invalid format. I only want to change a page

My AppDelegate Looks like this:

`using System;
using System.Collections.Generic;
using System.Linq;
using Foundation;
using Lottie.Forms.iOS.Renderers;
using UIKit;

namespace ProjectDriver.iOS
    // The UIApplicationDelegate for the application. This class is responsible for launching the 
    // User Interface of the application, as well as listening (and optionally responding) to 
    // application events from iOS.
    public partial class AppDelegate : global::Xamarin.Forms.Platform.iOS.FormsApplicationDelegate

        // This method is invoked when the application has loaded and is ready to run. In this 
        // method you should instantiate the window, load the UI into it and then make the window
        // visible.
        // You have 17 seconds to return from this method, or iOS will terminate your application.

        public override bool FinishedLaunching(UIApplication app, NSDictionary options)
            LoadApplication(new ProjectDriver.App());
            return base.FinishedLaunching(app, options);


  • JoeMankeJoeManke USMember ✭✭✭✭✭
    edited June 20

    How about posting the code where you're actually pushing the page, and the XAML and code-behind of your LoginPage?

Sign In or Register to comment.