如何在 React Native 中实现 3d Touch(peek 和 pop)

问题描述 投票:0回答:2

如何在我的 react-native 应用程序中实现此功能?

react-navigation 是默认提供这个吗?

这里有一些相关链接:

https://github.com/aksonov/react-native-router-flux/issues/3301

https://github.com/osdnk/peek-and-pop [npm 中的 404]

https://github.com/facebook/react-native/issues/3113

https://github.com/wix/react-native-navigation/pull/2186

ios react-native react-navigation peek-pop
2个回答
0
投票

是的,它在 react-native-navigation 中可用,您可以在此处查看指南:

https://github.com/osdnk/peek-and-pop

https://github.com/wix/react-native-navigation/pull/2186

注意:仅适用于 iOS。


0
投票

这是上下文菜单,

UIContextMenuInteraction
在 iOS 13.

请检查下面的lib.

https://github.com/mpiannucci/react-native-context-menu-view

https://www.google.com/search?q=UIContextMenuInteraction

© www.soinside.com 2019 - 2024. All rights reserved.