title: How to get UIImage of AppIcon?
body: <p>I am using Assets Catalog, and adding app icon of various size to the assets is okay.</p>
  
  <p>But when I tried to get the UIImage programmatically, it returned nil.</p>
  
  <pre><code>UIImage *appIcon = [UIImage imageNamed"AppIcon"];
  </code></pre>
  
  <p>The app icon is named <code>AppIcon</code> (the default), and the actual files are <code>app-icon-256.png</code> etc.</p>
  
  <p>I also noticed that unlike normal images, app icons are in an "App Icon" set, in the directory <code>AppIcon.appiconset</code>. Normal images are in the directory <code>someimage.imageset</code>.</p>