KieranLafferty / KLSwitch

An iOS 7 UISwitch clone that works on iOS 5+
Other
263 stars 49 forks source link

Don't fire UI action events when calling setOn:animated programmatically #15

Open zdennis opened 10 years ago

zdennis commented 10 years ago

Apple's UISwitch doesn't send UI events when calling setOn:animated programmatically. KLSwitch should mimick the same behavior.

From the docs:

Setting the switch to either position does not result in an action 
message being sent.