1) create your icon, size it to 57x57 and save it as Icon.png. The capital I is important.
2) open your xcode project so you can see all of your "stuff"
3) from the finder, drag the Icon.png file to the Resources in the xcode project, be sure to click the "copy file" checkbox at the top of the dialog box that asks if you want to add this to your project
4) clean all builds
5) next build you should have your icon in the bundle!
I've followed the example and it works! The only thing that bothers me is that there is a reflection added to give it an aqua look. I've noticed that most icons have this reflection added to them, but some don't. Does anyone know how to remove it?
the reflection is added by the device UNLESS you set the UIPrerenderedIcon in info.plist to true. I opened info.plist using textedit and stuck in this:
Thankyou! I didnt know you could do that! I think you can add it through xcode, just select Info.plist and add a new row with a boolean value.
By the way, are there preferences in the plist that get erased? I use IUStatusBarHidden in all my tests, do you know if they keep it?
Just a small addition to a previous post.. I'm pretty sure the capital I is not important, in fact, neither is the name. My last project didn't have Icon.png set in the info.plist, so I just added the filename of my icon manually.
what size of an image is the file that you used that you build in the simulator? because since the simulator isn't the actually iphone OS it can build with an icon that is 512x512 while the same is not true when you build to device...so make sure your icon specs are good.
- ensure you have dragged the Icon.png into Xcode project
- delete application from device
- go into project folder on mac, then into Build directory: delete everything in here
- back in Xcode, build and go
Just a small addition to a previous post.. I'm pretty sure the capital I is not important, in fact, neither is the name. My last project didn't have Icon.png set in the info.plist, so I just added the filename of my icon manually.