简体   繁体   English

具有透明背景的 iOS 应用图标在设备上显示黑色背景

[英]iOS app icon with transparent background showing black background on device

I have added an icon to my app.我在我的应用程序中添加了一个图标。 It has rounded edges and no background.它有圆形边缘,没有背景。 The problem is that when I run an app on my device (iPhone 5) the icon has a black background behind the edges as if it wasn't transparent.问题是,当我在我的设备(iPhone 5)上运行一个应用程序时,图标的边缘后面有一个黑色背景,好像它不是透明的。 Any solutions?任何解决方案?

From the apple developer website after a quick search:快速搜索后从苹果开发者网站:

Avoid transparency.避免透明。 An app icon should be opaque.应用程序图标应该是不透明的。 If the icon's boundaries are smaller than the recommended sizes—or you use transparency to create “see-through” areas—the resulting icon can appear to float on a black background, which tends to look especially unattractive on the beautiful wallpapers that users choose.如果图标的边界小于推荐的尺寸——或者你使用透明度来创建“透明”区域——生成的图标可能看起来漂浮在黑色背景上,这在用户选择的漂亮壁纸上看起来特别没有吸引力。

https://developer.apple.com/ios/human-interface-guidelines/icons-and-images/app-icon/ https://developer.apple.com/ios/human-interface-guidelines/icons-and-images/app-icon/

Edit: Also, check the related questions before you confirm your post - Is is possible to use transparency in an iPhone app icon?编辑:另外,在确认您的帖子之前检查相关问题 - 是否可以在 iPhone 应用程序图标中使用透明度?

在 IOS 上只使用方形图标,如果您使用圆形图标,您将获得黑色边缘黑色背景。

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

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