title: Switch onImage offImage attribute for iOS 8?
body: <p>How can I put the off/on image for Switch control?</p>
  
  <p>I already tried assigning values to </p>
  
  <pre><code>ourSwitch.onImage = ourImage
  ourSwitch.offImage = ourImage
  </code></pre>
  
  <p>trough the storyboard designer.</p>
  
  <p><a href="https://developer.apple.com/library/ios/documentation/UIKit/Reference/UISwitch_Class/#//apple_ref/occ/instp/UISwitch/onImage" rel="nofollow">https://developer.apple.com/library/ios/documentation/UIKit/Reference/UISwitch_Class/#//apple_ref/occ/instp/UISwitch/onImage</a></p>