gpt4 book ai didi

ios - 如果我在 didFinishLaunchingWithOptions 中返回 false 会发生什么?

转载 作者:行者123 更新时间:2023-12-03 00:49:19 24 4
gpt4 key购买 nike

我尝试在 didFinishLaunchingWithOptions 方法中返回 false,但没有任何反应,我的应用程序成功运行,任何人都可以告诉我为什么这个东西有效,以及这里有什么区别(true/false)。

最佳答案

它不会确定应用程序是否启动,只是确定它是否可以处理“选项”。

Return Value

false if the app cannot handle the URL resource or continue a user activity, otherwise return true. The return value is ignored if the app is launched as a result of a remote notification.

Ref: https://developer.apple.com/documentation/uikit/uiapplicationdelegate/1622921-application

关于ios - 如果我在 didFinishLaunchingWithOptions 中返回 false 会发生什么?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/56232724/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com