gpt4 book ai didi

iphone - iOS 4 的透明应用程序图标?

转载 作者:行者123 更新时间:2023-12-03 18:26:51 24 4
gpt4 key购买 nike

如果我在iOS4中使用透明背景的png文件作为应用程序图标,编译器会将其背景更改为黑色。如何保持其透明度?

最佳答案

不允许使用透明的应用程序图标。 iOS Human Interface Guidelines明确不允许 alpha 透明度并详细说明:

Give your application icon a discernible background. Icons with visible backgrounds look best on the Home screen primarily because of the rounded corners iOS adds. This is because uniformly rounded corners ensure that all the icons on a user's Home screen have a consistent appearance that invites tapping. If you create an icon with a background that disappears when it's viewed on the Home screen, users don't see the rounded corners. Such icons often don't look tappable and tend to interfere with the orderly symmetry of the Home screen that users appreciate.

Be sure your image completely fills the required area. If your image boundaries are smaller than the recommended sizes, or you use transparency to create “see-through” areas within them, your icon can appear to float on a black background with rounded corners.

关于iphone - iOS 4 的透明应用程序图标?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/3079246/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com