Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我使用模板在草图中创建的应用程序图标在我的设备和模拟器中看起来很好。
我的问题是,当我在我的应用程序中并单击回家时,应用程序图标下方的应用程序缩小过渡动画与应用程序图标的颜色不同,并且看起来不太好。
我假设我的应用程序图标设计有问题,或者可能与我的应用程序窗口背景颜色有关。
这是过渡期间和过渡完成时的屏幕截图。
过渡期间
过渡完成
我通过创建一个方形应用程序图标并让 Xcode 为我呈现图标解决了这个问题。我在 Sketch 中制作了一个 1024x1024 的正方形并设计了图标,然后导出了所有需要的图标大小。我将图标导入到 Xcode 中的 AppIcon 集中。奇迹般有效。
将渲染设置为原始图像