Forum Xamarin.iOS

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.