UISwitch UIControlEvents.ValueChanged incorrectly sent for setOn(_ on: Bool, animated: Bool)

Originator:colin.reisterer
Number:rdar://28525299 Date Originated:
Status: Resolved:
Product:iOS SDK Product Version:iOS 10
Classification:UI/Usability Reproducible:Always
 
UISwitch UIControlEvents.ValueChanged incorrectly called for setOn(_ on: Bool, animated: Bool) if this method is is called immediately after the user changes the value of the UISwitch (Which is the only case in which .ValueChanged should be sent on a UISwitch)

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!