05
2017
10

设置 启动页 停留时间 IOS Swift


    func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -> Bool {

    Thread.sleep(forTimeInterval: 2) // pause 2 sec before main storybord shows

        return true
    }
上一篇:STM32定时器---正交编码器模式详解 下一篇:【收藏篇】9月优秀技术博文整合,值得收藏!