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

Suddenly getting error in init of instance of UIKit.UIImage?

$
0
0

I haven't upgraded the recent upgrades to XS, X.Android and X.iOS. All of a sudden I am getting the following error:

System Exception has been thrown
Could not initialize an instance of the type "UIKit.UIImage": the native 'initWithContentOfFile:' method returned null.
It is possible to ignore this condition by setting MonoTouch.ObjCRuntime.Class.ThrowOnInitFailure to false.

What is this error? Why it is coming up all of a sudden when everything was running fine. App starts loading and this error appears in Main.cs at

UIApplication.Main (args, null, "AppDelegate");

line.

What shall I do? What am I missing? Is it something to do with the icons? I did change AppIcon. What could be wrong with it?


Viewing all articles
Browse latest Browse all 77050

Trending Articles



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