iOS Swift 런치스크린 시간 강제 지연

 

 

 

 

 

 

 

 

iOS Swift 런치스크린 시간은 기본적으로 앱이 실행되기 전까지만 아주 잠깐 보인다.

 

이시간을 1초나 2초로 고정하고 싶다면..

 

AppDelegate.swift 파일에서

func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool {
		// Override point for customization after application launch.
  
        Thread.sleep(forTimeInterval: 1.0)    // 런치스크린 표시 시간 1초 강제 지연
		
		return true
}

 

+ Recent posts