This simple app is to demonstrate how you can change an app icon using iOS 10.3+. The app uses a simple UITableView tapping into the delegate method tableView(_:didSelectRowAt:).
Changing your app icon provides users a nice bit of customisation, allowing them to personalise the icon at their leisure. Feel free to add this to your existing projects, a UICollectionView with a grid layout would have also worked nicely.
- Add icon files to the project - these will need to be added into a separate folder, not to the Assets folder
- Register in your info.plist
- Use instance methods to check if system allows for app icons to be changed
- Update icon through UI using methods or by creating an app icon manager
- Fork this project
- Clone the forked project to your machine
- In your project directory open Terminal and Run
$ pod install
and$ pod update
- Open the
.xcworkspace
file in Xcode to start working on the App
The following guide will help you get started and download the repo:
- Xcode 9+
- iOS 10.3+
- Swift 5.2