Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Don't send control events on setOn:Animated: #6

Open
coneybeare opened this issue Sep 7, 2013 · 2 comments
Open

Don't send control events on setOn:Animated: #6

coneybeare opened this issue Sep 7, 2013 · 2 comments

Comments

@coneybeare
Copy link

- (void)setOn:(BOOL)on animated:(BOOL)animated

UISwitch does not send events when this is called, so neither should you.

@bryanmontz
Copy link

I affirm this change. If you call setOn:animated: while the MBSwitch is a subview of a UITableViewCell, it can prevent the cell from being drawn at all. Not sure why though.

@mbjacks
Copy link

mbjacks commented Jul 29, 2015

This is still an issue. Be aware that this can cause unintended side effects if you switch out UISwitch for MBSwitch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants