title: UIImageView layer order
body: <p>I am having trouble understanding how layering is performed within Xcode. I have a .xib with a view, that view has 6 <code>UIImageView</code> 's which each contain a different image. I have created <code>IBOutlets</code> for each of these so I can change the image at runtime. </p>
  
  <p>I now want to change the order the UIImageViews are drawn at runtime, so imageA at the back is now drawn on top of everything else. How can I change the layer order? I originally tried removing all the subviews and using <code>[self.view insertSubview: atIndex: ]</code> to see if I could change the draw order that way but my code crashes.</p>
  
  <p>Can anyone tell me the correct method for doing this please?</p>
  
  <p>Thanks in advanced,
  Elliott</p>