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

swipe on UISwitch does not toggle it (ios 7.0 and 7.1) #352

Closed
MarvinMueller opened this issue Mar 25, 2014 · 2 comments
Closed

swipe on UISwitch does not toggle it (ios 7.0 and 7.1) #352

MarvinMueller opened this issue Mar 25, 2014 · 2 comments

Comments

@MarvinMueller
Copy link

Since ios 7.0 swipe via swipeViewWithAccesibilityLabel on UISwitches is not working correctly.

Swiping to the right leads sometimes to the same as swiping to the left or nothing. At this moment you cannot toggle the state of a UISwitch with swiping on it. This was working in older ios versions.

This method is still working using on other component (like UIButton) and gesture recognizer but not for UISwitch.

Regards,
Marvin Mueller

@phatmann
Copy link
Contributor

@MarvinMueller is this because the swipe is not long enough? Does it work if you use scrollAccessibilityElement?

@mokagio
Copy link

mokagio commented Feb 25, 2015

@MarvinMueller this is an old issue, but anyway you can toggle switches using [tester setOn:switchIsOn forSwitchWithAccessibilityLabel:label];

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

4 participants