项目
在 GitHub 查看 


kyubuns/AppIconChangerUnity
关于
Change the app icon dynamically in Unity (iOS only)
网站与应用开发实测星标增长
- 24小时
- -1
- 7天
- -1
- 15天
- -1
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文AppIconChangerUnity
Change the app icon dynamically in Unity
Support for new icon formats in Xcode13
-> This means that A/B Test on AppStore is also supported.

- iOS only, require iOS 10.3 or later
Instructions
- Import by PackageManager
https://github.com/kyubuns/AppIconChangerUnity.git?path=Assets/AppIconChanger- (Optional) You can import a demo scene on PackageManager.

- (Optional) You can import a demo scene on PackageManager.
Quickstart
- Create
AppIconChanger > AlternateIconfrom the context menu

- Set the name and icon
- ⚠️ Make sure your image has read/write enabled
Image Import Settings > Advanced > Read/Write
- ⚠️ Make sure your image has read/write enabled

- The following methods are available
- AppIconChanger.iOS.SupportsAlternateIcons
- Check to see if the icon can be changed
- https://developer.apple.com/documentation/uikit/uiapplication/2806815-supportsalternateicons
- AppIconChanger.iOS.AlternateIconName
- Check the current icon name (null is the default)
- https://developer.apple.com/documentation/uikit/uiapplication/2806808-alternateiconname
- AppIconChanger.iOS.SetAlternateIconName(iconName)
- Set the icon (null to restore the default)
- https://developer.apple.com/documentation/uikit/uiapplication/2806818-setalternateiconname
- AppIconChanger.iOS.SupportsAlternateIcons
Tips
What is the best size for the app icon?
When the Type of AlternateIcon is set to Auto Generate, the icon will be automatically resized at build time, so there is nothing to worry about. (The maximum size is 1024px.)
If you want to control it in detail, you can change the Type to Manual.
How to disable native popup?
It cannot be disabled because it is a popup that iOS displays automatically.
But... https://github.com/kyubuns/AppIconChangerUnity/issues/11
Requirements
- Unity 2020.3 or higher.
- Xcode 13 or higher.
License
MIT License (see LICENSE)
探索相关项目
加载中…