美文网首页
Swift设置APP启动页的时长

Swift设置APP启动页的时长

作者: Antlers777 | 来源:发表于2022-08-23 21:06 被阅读0次

    AppDelegate

    func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool {
            // Override point for customization after application launch.
            Thread.sleep(forTimeInterval: 4.0) // 添加这行代码
            return true
    }
    

    相关文章

      网友评论

          本文标题:Swift设置APP启动页的时长

          本文链接:https://www.haomeiwen.com/subject/hciogrtx.html