mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-02-12 09:20:14 +08:00
Note that magic tap traverses up the view hierarchy
This commit is contained in:
@@ -65,7 +65,7 @@ Use this property to assign a custom function to be called when someone activate
|
||||
|
||||
#### onMagicTap
|
||||
|
||||
Assign this property to a custom function which will be called when someone performs the "magic tap" gesture, which is a double-tap with two fingers. A magic tap function should perform the most relevant action a user could take on a component. In the Phone app on iPhone, a magic tap answers a phone call, or ends the current one.
|
||||
Assign this property to a custom function which will be called when someone performs the "magic tap" gesture, which is a double-tap with two fingers. A magic tap function should perform the most relevant action a user could take on a component. In the Phone app on iPhone, a magic tap answers a phone call, or ends the current one. If the selected element does not have an `onMagicTap` function, the system will traverse up the view hierarchy until it finds a view that does.
|
||||
|
||||
### Testing VoiceOver Support
|
||||
|
||||
|
||||
Reference in New Issue
Block a user