Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 58056

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

$
0
0

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 ();
        Xamarin.FormsMaps.Init();

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

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

I am using Xamarin.Forms 1.2.3.6246-pre1


Viewing all articles
Browse latest Browse all 58056

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>