延长LaunchImage的显示时间
override func viewDidLoad() {
super.viewDidLoad()
NSThread.sleepForTimeInterval(3.0)//延长3秒
}
override func viewDidLoad() {
super.viewDidLoad()
NSThread.sleepForTimeInterval(3.0)//延长3秒
}
本文介绍了一种在iOS应用中通过使用NSThread.sleepForTimeInterval方法来延展LaunchImage显示时间的方法,以此来实现启动画面的展示时长控制。

被折叠的 条评论
为什么被折叠?