title: Create a UIImage with a URL in iOS
body: <p>To create an UiImage with a image file, I use the code as below:</p>
  
  <pre><code>UIImage *aImage = [[UIImage imageNamed:@"demo.jpg"]autorelease];
  </code></pre>
  
  <p>If I want to create an UiImage with the URL <a href="http://example.com/demo.jpg" rel="noreferrer">http://example.com/demo.jpg</a>, how to do that?</p>
  
  <p>Thanks</p>
  
  <p>UPDATE</p>
  
  <p><img src="https://i.stack.imgur.com/V49Fe.png" alt="enter image description here"></p>