KimDarren / Alternativeicon Example
Licence: mit
😱 Change your iOS application's icon programmatically since iOS 10.3
Stars: ✭ 129
Programming Languages
swift
15916 projects
Projects that are alternatives of or similar to Alternativeicon Example
Openquickly
A custom 'open quickly' window that imitates macOS' Spotlight
Stars: ✭ 78 (-39.53%)
Mutual labels: cocoa
Cocoaopengl Swift
A simple example of using Swift to create an OpenGL application for macOS, iOS, and tvOS.
Stars: ✭ 60 (-53.49%)
Mutual labels: cocoa
Subethaedit
General purpose plain text editor for macOS. Widely known for its live collaboration feature.
Stars: ✭ 1,183 (+817.05%)
Mutual labels: cocoa
Enlighten
💡 An integrated spotlight-based onboarding and help library for macOS, written in Swift.
Stars: ✭ 44 (-65.89%)
Mutual labels: cocoa
Luexpandabletableview
A subclass of UITableView with expandable and collapsible sections
Stars: ✭ 125 (-3.1%)
Mutual labels: cocoa
Luautocompleteview
Highly configurable autocomplete view that is attachable to any UITextField
Stars: ✭ 55 (-57.36%)
Mutual labels: cocoa
Ikeysnail
iKeySnail provides fully-configurable hardware keyboard functionalities for web browsing on iOS (iPadOS)
Stars: ✭ 48 (-62.79%)
Mutual labels: cocoa
Xuikit
📦 XUIKIt is a UI framework for macOS, it extends a lot of methods similar to UIKit.
Stars: ✭ 90 (-30.23%)
Mutual labels: cocoa
Daterangepicker
The best (?) date range picker control for OS X.
Stars: ✭ 126 (-2.33%)
Mutual labels: cocoa
Bettersegmentedcontrol
An easy to use, customizable replacement for UISegmentedControl & UISwitch.
Stars: ✭ 1,782 (+1281.4%)
Mutual labels: cocoa
Feeds For Ios Developer
A list of rss feeds for iOS developers
Stars: ✭ 100 (-22.48%)
Mutual labels: cocoa
AlternativeIcon
Since iOS 10.3, it is possible to change the application's icon programmatically. This repository contains simple application demo it.
Screenshot
Requirements
- Xcode 8.3 or higher.
- iOS 10.3 or higher.
How to build.
- Install cocoapods (if needed) .
- Clone this project.
- Redirect to
/Project
directory. -
pod install
. - Open
AlternativeIconExample.xcworkspace
with Xcode. - Build and run on your device or simulator.
Alternate icon, step by step
-
Import your alternative icon files to project file.
-
IMPORTANT I don't know why, but it doesn't support
.xcassets
.
-
IMPORTANT I don't know why, but it doesn't support
-
Open your project's
Info.plist
file.<key>CFBundleIcons</key> <dict> <key>CFBundleAlternateIcons</key> <dict> <key>{alternate-icon-key}</key> <dict> <key>CFBundleIconFiles</key> <array> <string>{alternate-icon-file-name}</string> </array> <key>UIPrerenderedIcon</key> <false/> </dict> </dict> <key>CFBundlePrimaryIcon</key> <dict> <key>CFBundleIconFiles</key> <array> <string>{primary-icon-file-name}</string> </array> <key>UIPrerenderedIcon</key> <false/> </dict> </dict>
-
Write some code to set alternative icon.
UIApplication.shared.setAlternateIconName("alternative-icon-key") { error in // Handle error or do something. }
Before submit to App Store.
- The icon must to be user-choosable.
- The icon must to be related to your app.
- Click here to show more details.
Used libraries.
License
AlternativeIcon-Example is available under the MIT license. See the LICENSE file for more info.
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].