title: How to clear memory after UIImageView.animationImages?
body: <p>I've created a new Xcode project that has only the following:</p>
  
  <ul>
  <li>code creating an array of UIImages from png's dragged in to the project (I have tried both UIImage(named:) and UIImage(contentsOfFile:) when appending images to the array)</li>
  <li>a UIImageView</li>
  <li>a button which sets the imageView.animationImages = arrayOfImages and calls imageView.startAnimating()</li>
  </ul>
  
  <p>When the button is pressed and the animation plays, the memory usage increases by 150-200MB, depending on the number of images in the image array. Then the memory usage remains at that level.</p>
  
  <p>Setting imageView.animationImages = nil doesn't clear the memory. How could I go about clearing that memory?</p>
  
  <p>Any suggestions would be helpful. Thanks!</p>