【问题标题】:How do you set the duration time of a launch screen in xcode?如何在 xcode 中设置启动屏幕的持续时间?
【发布时间】:2022-08-05 16:41:39
【问题描述】:

我的 ios 应用程序中有一个启动屏幕,我正在尝试为其设置持续时间,因此它会在屏幕上显示更长时间。我该怎么做呢?

标签: swift


【解决方案1】:

将其添加到 didFinishLaunchingWithOptions 函数内的 appdelegate.m

[RNSplashScreen 显示];

[NSThread sleepForTimeInterval:3.000];//时间延迟

返回是;

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2015-09-10
    • 2020-12-04
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2022-11-13
    • 2019-08-28
    • 1970-01-01
    相关资源
    最近更新 更多