title: I have array of images for the background on my app. How can I make them change automatically with interval 1 sec?
body: <p>I have array of images for the background on my app. How can I make them change automatically with interval 1 sec?</p>
  
  <pre><code>let myImagesArray = [UIImage(named:"1.png"),UIImage(named:"2.png"),UIImage(named:"3.png")
  </code></pre>