AltIcon

main

A better way to change icons in your app.
matt-novoselov/AltIcon

Logo

AltIcon

iOS 13+

AltIcon - a better way to change icons in your app. This package allows you to change app icons without displaying an alert message.

Alert

GIF


Installation

To install AltIcon using Swift Package Manager you can follow the tutorial published by Apple using the URL for this repo with the current version:

  1. In Xcode, select “File” → “Add Packages...”
  2. Enter https://github.com/matt-novoselov/AltIcon.git

Usage

  1. Add alternative icons to your .xcassets file.
  2. Set Include All App Icon Assets to YES in your Build Settings.
  3. Import AltIcon to your project:
import SwiftUI
import AltIcon

struct ContentView: View {
    var body: some View {
        
        Button("Set Alternative Icon") {
            setAppIcon("AppIcon2")
        }
        
        Button("Reset Icon To Default") {
            resetAppIcon()
        }
        
    }
}

Issues

Have an issue with the package, or want to suggest a feature/API to help make your development life better? Log an issue in the issues tab! You can also browse older issues and discussion threads there to see solutions that may have worked for common problems.


Warning

This package uses Apple's private APIs. AltIcon uses obfuscation, but there is a chance that Apple could detect this during the App Store review process. Use at your own risk.


Credits

Distributed under the MIT license. See LICENSE for more information.

Developed with ❤️ by Matt Novoselov

Description

  • Swift Tools 6.0.0
View More Packages from this Author

Dependencies

  • None
Last updated: Fri May 16 2025 11:29:20 GMT-0900 (Hawaii-Aleutian Daylight Time)