views:

1209

answers:

2

In simulator mode, myapp has an icon with round corners, but on real iPhone, the corners arn't rounded.

+2  A: 

Hello DFG, 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

Adam Alexander
UIPrerenderedIcon is not in my Info.plist.
DFG
Unfortunately I would think that indicates your environment is not working as designed, but someone else here who knows something I don't may be able to provide additional insight.
Adam Alexander
+5  A: 

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

Zydeco