 <ul> <li>save those 8 positions in 8 CGRects.</li> <li>then generate a random number between 1 and 8 using <code>int r = arc4random() % 8</code>;.</li> <li>using <code>switch</code> statement set the <code>CGRect</code> of the button depending on r.</li> </ul>