title: UISegmentedControl rendered completely wrong when used with images and rendered correctly when used with text
body: <p>I have this app compiled for iOS 6. This is a code upgraded from iOS 4.3 and was working fine there.</p>
  
  <p>After creating a segmented control, its icons are just the alpha channel and the control is transparent. </p>
  
  <p>This is how I create it</p>
  
  <pre><code>// images is a NSArray of images. I have confirmed. 
  // All images are OK and are loading fine on this array. 
  // Images have alpha channel. They are basically solid
  // rounded icons with shadows surrounded by transparent pixels
  UISegmentedControl *segmentedControl = [[UISegmentedControl alloc] initWithItems:images];
  [segmentedControl addTarget:self action:selector(change:)
             forControlEvents:UIControlEventValueChanged];
  segmentedControl.segmentedControlStyle = UISegmentedControlStyleBar;
  </code></pre>
  
  <p>This is how I see the control. Notice the blurred blue right border that corresponds to the icon shadow on the alpha channel. Also, another problem is this being blue. I never adjusted any blue color on this control. This was simply working fine on iOS 4.3.</p>
  
  <p>Any clues?</p>
  
  <hr>
  
  <p>EDIT: as soon as I replace the images with text, the segmented controlled is rendered correctly: opaque and no blue ever. Now the WTF level increased.</p>
  
  <p>I have created a sample project with 3 red images that for some WTF factor show blue. Download the project here:  <a href="http://www.fileswap.com/dl/RVf7UuwKhf/" rel="nofollow noreferrer">http://www.fileswap.com/dl/RVf7UuwKhf/</a></p>
  
  <p><img src="https://i.stack.imgur.com/FbABz.png" alt="enter image description here"></p>