我有三个图像要在React Native中的飞溅屏幕中交叉褪色。我该怎么做?请帮助我
我使用了反应式拼写屏幕库。我在飞溅活动中做动画。但这仅显示最后一个图像,而没有任何动画并将其加载到我的主屏中。
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 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
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