When you are using Xcode to make an iPhone app, how do you change the app's icon? Right now my icon for my app is just plain white.
Open up a project in Xcode and click on the device near the Run ▶ button at the top left of your Xcode screen. Plug your iPhone into your computer. You can select your device from the top of the list. Unlock your device and (⌘R) run the application.
After downloading Xcode and learning Swift, you're going to be able to not only build iOS apps for an iPhone, but also apps for other Apple products such as iPads, Apple watch apps, Apple TV apps, etc. Now, downloading Xcode and learning Swift isn't as simple as it sounds.
Create a 57x57 PNG file and import it into your project bundle. Then open the .plist file that is included in your project and edit the value for the key "Icon File" to match the name of the icon you provided (CFBundleIconFile
is the actual key, but the Xcode editor will display the nicer name for you).
In Xcode 4, you can go to your app's Summary page and there is a section called App Icons. Then just drag and drop an image into one of the "drop zones". It just works! :D
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With