Forum Xamarin.iOS
We are excited to announce that the Xamarin Forums are moving to the new Microsoft Q&A experience. Q&A is the home for technical questions and answers at across all products at Microsoft now including Xamarin!

We encourage you to head over to Microsoft Q&A for .NET for posting new questions and get involved today.

UIKit.UIImageView uikit consistency error: you are calling a uikit method that can only be invoked

The ios app I'm working on seems to crash and it has something to do with this error with this code:

this.InvokeOnMainThread(delegate
               {
                   this.imgCoverArt.Image = oImage;
                   spnCoverArt.Hidden = true;
               });

where this is being called in a partial class which inherits from UIViewController.

Any ideas on the cause and how to deal with it?

Sign In or Register to comment.