具有透明背景的 iOS 应用程序图标在设备上显示黑色背景 [英] iOS app icon with transparent background showing black background on device

查看:42
本文介绍了具有透明背景的 iOS 应用程序图标在设备上显示黑色背景的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在我的应用中添加了一个图标.它有圆形边缘,没有背景.问题是当我在我的设备(iPhone 5)上运行应用程序时,图标的边缘后面有黑色背景,就好像它不透明一样.有什么解决办法吗?

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. 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/

另外,在确认您的帖子之前检查相关问题 - 是否可以在 iPhone 应用程序图标中使用透明度?

Also, check the related questions before you confirm your post - Is is possible to use transparency in an iPhone app icon?

这篇关于具有透明背景的 iOS 应用程序图标在设备上显示黑色背景的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆