Switching to a new view display an image which is randomly selected
<p>My goal is that when I switch to a new view, a random image is selected via the <code>arc4random</code> function and displayed in the view instantaneously.</p>

<p>Can some one give me direction on how to achieve the instant execution of random function selection process with out a button to prompt the random function process?
Any examples of code, were should the code be placed, etc.</p>
