如何在 React Native 中实现 PageCurl(翻页)转换 [英] How to achieve PageCurl(page turn) transition in React Native

查看:51
本文介绍了如何在 React Native 中实现 PageCurl(翻页)转换的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在 iOS 中,您可以在 UIPageViewController 上使用 PageCurl 过渡样式,以获得与 iOS 中的 iBooks 相同的页面卷曲效果.

In iOS you can use the PageCurl transition style on a UIPageViewController to have the same page curl effect as iBooks in iOS.

有没有办法在 React Native 视图上使用 PageCurl 过渡效果?

Is there a way to use the PageCurl transition effect on a React Native view?

推荐答案

您可以使用 https://github.com/callstack/react-native-pager-view 库,支持这种事务

You can use https://github.com/callstack/react-native-pager-view library, which support this kind of transaction

这篇关于如何在 React Native 中实现 PageCurl(翻页)转换的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆