简体   繁体   English

如何在启动动画期间更改 iOS 应用程序图标背景颜色?

[英]How do you change the iOS app icon background color during launch animation?

When launching a flutter built iOS application, I briefly get this black background surrounding the launch screen.当启动一个 flutter 构建的 iOS 应用程序时,我简要地看到了启动屏幕周围的黑色背景。 How would you change the black background depicted in the image?您将如何更改图像中描绘的黑色背景? I tried changing the launch screen background color in Xcode, but I still get this black "border".我尝试在 Xcode 中更改启动屏幕背景颜色,但我仍然得到这个黑色的“边框”。

在此处输入图片说明 在此处输入图片说明 在此处输入图片说明 在此处输入图片说明

The black "border" in the opening app animation has to do with the way the default flutter icons were generated.打开应用程序动画中的黑色“边框”与默认颤动图标的生成方式有关。 I generated my own icons using this generator , and the app animates as intended.我使用这个生成器生成了我自己的图标,并且该应用程序按预期进行了动画处理。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM