title: Xamarin.Forms iOS UIKit.UIImage Error
body: <p>I've been working with making a mobile app using Xamarin.Forms. I have everything working on android, but when I try to launch on iOS I get the error:</p>
  
  <pre><code>System.Exception: Could not initialize an instance of the type 'UIKit.UIImage': the native 'initWithContentsOfFile:' method returned nil.
  &gt;It is possible to ignore this condition by setting MonoTouch.ObjCRuntime.Class.ThrowOnInitFailure to false.
  ....
  </code></pre>
  
  <p>Does anyone know how to solve this?</p>
  
  <p>Edit:
  Here is the code it gives me the error on, but I have the feeling something else is causing it:</p>
  
  <pre><code>using System;
  using System.Collections.Generic;
  using System.Linq;
  
  using Foundation;
  using UIKit;
  
  namespace CloudClubv1._2_.iOS
  {
      public class Application
      {
          // This is the main entry point of the application.
          static void Main(string[] args)
          {
              // if you want to use a different Application Delegate class from "AppDelegate"
              // you can specify it here.
              UIApplication.Main(args, null, "AppDelegate");
          }
      }
  }
  </code></pre>