如何在React Native中实现3D Touch(Peek和Pop)。

huangapple go评论85阅读模式
英文:

How to achieve 3d touch (peek and pop) in react native

问题

如何在我的React Native应用中实现这个功能?

如何在React Native中实现3D Touch(Peek和Pop)。

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

英文:

how can I implement this functionality in my react-native app?

如何在React Native中实现3D Touch(Peek和Pop)。

Is react-navigation provide this by default?

here are some related links:

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

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

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

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

答案1

得分: 2

这是ContextMenu,iOS 13中的UIContextMenuInteraction

请检查下面的库。

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

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

英文:

This is ContextMenu , UIContextMenuInteraction in iOS 13.

Please check below lib.

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

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

huangapple
  • 本文由 发表于 2023年3月7日 13:46:43
  • 转载请务必保留本文链接:https://go.coder-hub.com/75658421.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定