安装应用程序后,在iPhone中隐藏应用程序主图标
我正在开发一个应用程序,我需要在iPhone上安装应用程序,以便在安装应用程序后它的图标不会显示在iPhone上。
I am working on one application in which I need to install the application on iPhone in such a way that it's icon is not being displayed in iPhone after the application gets installed.
iOS中是否提供此功能? apple是否支持这种功能?
Is this feature available in iOS? Does apple support this kind of feature?
虽然您无法完全从主屏幕中删除您的应用程序图标,但您可以让它看不见。但是,图标虽然不可见,但仍然可以点按。 此外,您的应用程序永远不会被批准用于App Store。
While you can't remove your App icon from the home screen completely, you can make it invisible. However, the icon, while invisible, can still be tapped. Also, your App would never be approved for the App Store that way.
如何使您的应用程序不可见:
How to make your App invisible:
-
创建一个完全透明的PNG文件,并将其用作Icon。启用预渲染复选框以确保没有渐变应用于您的图标。
Create a completely transparent PNG file, and use it as Icon. Enable the "Prerendered" checkbox to make sure no gradient is applied to your icon.
在.plist文件中,删除字符串$ {PRODUCT_NAME}来自捆绑显示名称
In your .plist file, remove the string "${PRODUCT_NAME}" from "Bundle display name"