Forum Xamarin.Forms


The Xamarin Forums have officially moved to the new Microsoft Q&A experience. Microsoft Q&A is the home for technical questions and answers at across all products at Microsoft now including Xamarin!

To create new threads and ask questions head over to Microsoft Q&A for .NET and get involved today.

Is it possible to use Xamarin.Forms with MvvmCross and SkiaSharp for iOS?

I tried this and build an Xamarin.Forms application with MvvmCross for iOS 12.1. Therefore I used MvvmCross 6.2.2 and set up the project according to the TipCalcTutorial from the MvvmCross Documentation. So far this worked (with the iPhone Simulator). But when I added SkiaSharp 1.6 for Xamarin.Forms and included SKCanvasView to my MainView (view shown on start of the app) I got the following exception when the app starts:

NSInternalInconsistencyException Reason: Application windows are expected to have a root view controller at the end of application launch

I assume that SkiaSharp has problems with the altered iOS project structure (due to MvvmCross there is no ViewController anymore).

I am wondering if it is even possible to use SkiaSharp with MvvmCross and Xamarin.Forms on iOS?

Sign In or Register to comment.