我有三个图像要在React Native中的飞溅屏幕中交叉褪色。我该怎么做?请帮助我

发布于 2025-02-11 08:09:53 字数 62 浏览 0 评论 0原文

我使用了反应式拼写屏幕库。我在飞溅活动中做动画。但这仅显示最后一个图像,而没有任何动画并将其加载到我的主屏中。

I used react-native-splash-screen library. I did animations in the splash activity . But it shows only the last image without any animations and load into my mainscreen.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

美羊羊 2025-02-18 08:09:53

SplashScreens只能具有静止图像,因此,如果您需要完成动画,则需要在splashscreen中放置静止图像(最好是动画的第一帧),然后首先,应用程序呈现为动画splashscreen,这是一个普通的屏幕使用动画,您希望继续使用SplashScreen。它有一个计时器,所以当动画完成时,您只需移动到应用程序

Splashscreens can only have still images, so if you need to accomplish the animation you need to put a still image (preferrably the first frame of your animation) in the splashscreen and then first thing the app renders is the animated splashscreen which is a normal screen with the animation you want that continues the splashscreen. It has a timer so when the animation finishes you just move to your app

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文