UISwitch sends spammy action even when its on/off state is not changed on iOS 7

Originator:nonamelive
Number:rdar://15555929 Date Originated:28-Nov-2013 12:49 PM
Status:Closed Resolved:Duplicate 14485185
Product:iOS SDK Product Version:7.0.4/11B554a
Classification:UI/Usability Reproducible:Always
 
Summary:
UISwitch sends spammy action even when its on/off state is not changed on iOS 7.

Steps to Reproduce:
- Add a UISwitch on screen and listen to UIControlEventValueChanged.
- Touch down and keep holding the switch back and forth.
- Suppose the switch's initial state is ON, let go the switch when the state is also ON.
- UISwitch generates UIControlEventValueChanged action, which is totally unnecessary.

Expected Results:
UISwitch should not generate any UIControlEventValueChanged action.

Actual Results:
UISwitch generates a UIControlEventValueChanged action.

Version:
7.0.4/11B554a

Comments

Still not fixed in 9.1

By guillaume.algis at Oct. 29, 2015, 10:54 a.m. (reply...)

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!