The example will illustrate how to add an icon on the iPhone application in Xcode. Before adding the application icon in iPhone make sure that the icon size is 57x57 and it should be a png one.
To get an application icon in iPhone simulator.. add the "png" icon that you want to be displayed as your application icon under resources folder.
Then open up the "info.plist" file that resides under resources folder, there you will find a key Icon file. In its value specify the name of your "png"(app icon name). It would then be visible on you simulator.
If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.
Ask your questions, our development team will try to give answers to your questions.