SpriteKit Project — AbsolutelyBrickingIt — Part 3: Set the app icon
In this short article, we’re going to set the app icon to something other than the default app icon.
View the default app icon
In the Simulator, check the current (default) app icon on the Home screen (⇧⌘H
to show the Home screen):
Adding image assets to the project
In the Xcode project navigator (⌘0
), select Assets
:
Using Finder, select the app icon image and drag it onto the AppIcon placeholder:
AppIcon now shows the new image:
Running the project in a simulator
Run the app in the Simulator:
Show the Home screen in the Simulator (⇧⌘H
):
We’ve successfully set a new app icon for the project. It’s not a particularly good app icon, but it’s at least something different to the default app icon.
Code
This article corresponds to the merge commit Add app icon (#3)
in the GitHub repository AbsolutelyBrickingIt