如何在我的 react-native 应用程序中实现此功能?
react-navigation 是默认提供这个吗?
这里有一些相关链接:
https://github.com/aksonov/react-native-router-flux/issues/3301
https://github.com/osdnk/peek-and-pop [npm 中的 404]
是的,它在 react-native-navigation 中可用,您可以在此处查看指南:
https://github.com/osdnk/peek-and-pop
https://github.com/wix/react-native-navigation/pull/2186
注意:仅适用于 iOS。
这是上下文菜单,
UIContextMenuInteraction
在 iOS 13.
请检查下面的lib.
https://github.com/mpiannucci/react-native-context-menu-view