title: Load Animated gif in UIImageView IOS
body: <p>I have this gif into my assets file <a href="https://i.stack.imgur.com/kOnzy.gif" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/kOnzy.gif" alt="Gif"></a></p>
  
  <p>The name of the assets is loading_apple but when I add the following code I get a nullpointer exception error:</p>
  
  <pre><code>let img = UIImage (named: "loading_apple")
  </code></pre>
  
  <p>So how can I show this gif ? :(</p>
  
  <p>Hope someone can help me.</p>