UIAccessibilityCustomAction 选择器 - 为什么 return BOOL
UIAccessibilityCustomAction selector - why return BOOL
为什么 selector
for UIAccessibilityCustomAction
对象 return BOOL
?是真是假有什么区别?
啊,终于在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, return NO
.
没有想象中那么神秘
为什么 selector
for UIAccessibilityCustomAction
对象 return BOOL
?是真是假有什么区别?
啊,终于在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
.
没有想象中那么神秘