title: Random Image for Launch Screen
body: <p>I have 3 different images I'd like to use Launch Screen.</p>
  
  <p>I've added a <code>UIImageView</code> in the <code>Launchscreen.storyboard</code></p>
  
  <p>And I was thinking I could use a simple Switch statement with a randomizer to select the image:</p>
  
  <pre><code>var random = arc4random_uniform(3) //returns 0 to 2 randomly
  
    switch random {
      case 0:
          launchImageView.image = UIImage(named: "splash1.jpg")
      case 1:
          myImageView.image = UIImage(named: "splash2.jpg")
      default:
          /myImageView.image = UIImage(named: "splash3.jpg")      }
  </code></pre>
  
  <p>However I'm not really sure where to implement the code as the <code>viewDidLoad</code> will not work.</p>