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

Can't set selected on SCLSwitchView #214

Closed
TSkovsgaard opened this issue Aug 3, 2016 · 1 comment
Closed

Can't set selected on SCLSwitchView #214

TSkovsgaard opened this issue Aug 3, 2016 · 1 comment

Comments

@TSkovsgaard
Copy link

Setting the switch to preselected doesn't seem to work

SCLAlertView *alert = [[SCLAlertView alloc] init];
SCLSwitchView *switchView = [alert addSwitchViewWithLabel:@"Use local maps"];
[switchView setSelected:true];

Also tried
[[SCLSwitchView appearance]setSelected:true];

But without luck.

Is this not possible ? Thanks

@dogo
Copy link
Owner

dogo commented Oct 27, 2016

Fixed by PR #226

@dogo dogo closed this as completed Oct 27, 2016
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

2 participants