UISwitch onImage/offImage still offered in Storyboard even though it hasn't had an effect since iOS 7 rdar://28998257

Originator:johnstephi
Number:rdar://28998257 Date Originated:
Status:Open Resolved:
Product:Xcode Product Version:8.1
Classification: Reproducible:
 
Summary:
Set an onImage and offImage for UISwitch control in Storyboard, but this has no effect since iOS 7. No warnings. Just no effect.

Steps to Reproduce:
1. Drag in a UISwitch to the canvas.
2. Set the off and on images in storyboard
3. No images are displayed.
4. Google and figure out in Apple Docs(!!!) that the on/off images need to have a certain size. https://developer.apple.com/library/content/documentation/UserExperience/Conceptual/UIKitUICatalog/UISwitch.html
5. Still no images are displayed.
6. Google some more and realize “In iOS 7, this property has no effect.” https://developer.apple.com/reference/uikit/uiswitch/1623689-onimage

Expected Results:
 * Either have it work, or have at LEAST a console warning. Even better would be to completely remove it from storyboard and the API if possible.
 * Also have the Apple docs in the UI catalog updated

Actual Results:
See steps 4-5

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!