如何围绕myapp图标的角落 [英] How do I round corners of myapp's icon

查看:106
本文介绍了如何围绕myapp图标的角落的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在模拟器模式下,我的应用程序有一个带圆角的图标,但在真正的iPhone上,角落没有圆角。

In simulator mode, my app has an icon with round corners, but on a real iPhone, the corners aren't rounded.

推荐答案

如果您通过MobileInstallation(来自iTunes,Xcode或App Store)安装,则Corners会自动舍入。
如果您正在构建软件包并手动将其安装到/ Applications中或使用cydia / apt,您必须自己制作一个圆形图标。

Corners get automatically rounded if you install via MobileInstallation (from iTunes, Xcode or App Store). If you're building the package and installing it into /Applications manually or with cydia/apt, you have to make a rounded icon yourself.

你可以找到用于圆角的图像并在/System/Library/Frameworks/UIKit.framework/Other.artwork中添加反射,前3个图像是蒙版,反射和阴影。您可以使用此脚本提取.artwork文件

You can find the images used to round the corners and add reflection in /System/Library/Frameworks/UIKit.framework/Other.artwork, the first 3 images are the mask, reflection and shadow. You can extract the .artwork file with this script here

这篇关于如何围绕myapp图标的角落的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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