Forum Xamarin Xamarin.Forms

Is Xamarin.Forms compatible with the new Xamarin.iOS.dll for native (32-bit/64-bit) types?

AdamCroserAdamCroser AUMember ✭✭

My own experience is "not yet."

I've taken one of my own Xamarin.Forms projects, and tried upgrading it to a 32/64 app. I've replaced the monotouch reference with Xamarin.iOS, and removed all references to the Monotouch namespace.

I have one compilation error. The CreateViewController () call in the following code tries to return a UIViewController tied to the Monotouch dll, not the Xamarin.iOS.dll

    public override bool FinishedLaunching (UIApplication app, NSDictionary options)
        Forms.Init ();

        window = new UIWindow (UIScreen.MainScreen.Bounds);

        window.RootViewController = App.GetMainPage ().CreateViewController ();
        window.MakeKeyAndVisible ();  

I am using Xamarin.Forms

Sign In or Register to comment.