App Icon using Image Assets

suggest change

Whenever we create a new project in Xcode for our new app, it gives us various in-built classes, targets, tests, plist file, etc. Similarly it also gives us as Assets.xcassets file, which manages all the image assets in our project.

This is how this file looks like in file navigator:

If we click it, it’ll look like this:

As I said, AppIcon asset is already created for us.

We just have to drag and drop respective image on each empty square block. Each black will tell us what size that image should be, it’s written just below it.

After dragging and dropping all the images in all the squares, it’ll look like this:

We can change the devices setting also for icon assets in Utilities -> Attributes Inspector as:

Once we finished this, just run an app and we’ll be having nice icon to app as this:

It is there by default, but if it’s not then make sure this settings is as in Target->General settings:

Feedback about page:

Feedback:
Optional: your email if you want me to get back to you:


Using image assets:
* App Icon using Image Assets

Table Of Contents
12 UIView
15 UIColor
26 UIImage
28 CALayer
30 NSDate
40 iBeacon
49 NSTimer
79 NSURL
87 AWS SDK
96 NSData
101 Segues
104 EventKit
105 NSBundle
106 SiriKit
111 StoreKit
117 3D Touch
119 Keychain
122 Block
141 AirDrop
144 UISlider
145 Carthage
146 HealthKit
151 plist
157 MVVM
164 UIPhoenix
166 Simulator
168 NSArray
169 OpenGL
175 Core Data
179 MyLayout
180 UIFont
189 Security
194 Using image assets
200 Codable