我创建了一个分发应用程序,还注册了自定义 URL 方案。我安装应用程序后第一次尝试自定义 URL 链接,但不起作用。
但是,如果我手动启动应用程序,它会提示我下面提到的消息
Are you sure you want to open the application ... from the developer iphone distribution ... ?
我将单击“继续”,然后该自定义 URL 链接就可以在我的应用程序中正常工作。
自定义 url 链接可以在安装时直接启动应用程序(无需手动启动应用程序并继续)吗?
还有没有什么设置,可以把提示信息关掉。所以不会提示信息。
最佳答案
Can Custom url link launch the application directly on installation (without manually launch application and contiue)?
没有。只需确保用户知道他们正在安装哪个应用程序即可。然后他们可以第一次手动打开它;之后您的 URL 方案就会正常工作。
Also is there any settings, so we can make the prompt message off. So it will not prompt message.
不,没有。该消息由操作系统生成,无法关闭。它是企业级应用程序的安全功能。
关于ios - 自定义 url 方案不起作用(第一次)IOS 应用程序,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/11780433/