Why should the selector
for UIAccessibilityCustomAction
object return BOOL
? What difference does it make whether it's true or false?
Asked
Active
Viewed 1,022 times
3

dobranoc
- 465
- 1
- 4
- 17
1 Answers
4
Ah finally I found that little note in Apple's documentation...
All special VoiceOver gesture methods return a Boolean value that determine whether to propagate through the responder chain. To halt propagation, return
YES
; otherwise, returnNO
.
Not as mysterious as expected.

dobranoc
- 465
- 1
- 4
- 17
-
Did you manage to pass the a parameter within the selector using UIAccessibilityCustomAction ? I'm trying to do this for couple of days – Pavlos Feb 12 '18 at 11:10
-
What `"the a parameter"` do you mean exactly? – dobranoc Feb 12 '18 at 14:15
-
actually I wanted to use swipe to delete a cell in a list and the VoiceOver wasn't working properly with it. I meant about passing the indexPath.row using the selector but this was not an option and now I got my problem solved here: https://stackoverflow.com/a/48689384/4723935 – Pavlos Feb 12 '18 at 14:27