How do I round corners of myapp's icon

被刻印的时光 ゝ 提交于 2019-12-22 12:25:10

问题


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


回答1:


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.

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




回答2:


by default the iPhone should round your corners and add a reflection effect. Be sure you have not added the UIPrerenderedIcon key to your Info.plist file. Hope this helps!

Adam




回答3:


I know this post is pretty old. New versions of iOS don't suffer from this problem unless you have Cydia installed and you're building your app as a .deb

If you want to round your corners for Cydia, do the following:

  1. Download iFile and IconMaker from Cydia
  2. Locate the icon file with iFile and click on it, then select IconMaker
  3. Enable Save to Camera Roll
  4. Generate icon
  5. Email the generated icon(s) (144 and 77px versions) to yourself

Source: http://www.ifans.com/forums/threads/how-to-make-apps-with-square-edges-into-smooth-round-edges.342846/



来源:https://stackoverflow.com/questions/262748/how-do-i-round-corners-of-myapps-icon

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!