[UIKit] Launch Screen(시작화면)

2022. 7. 6. 15:48SWIFT/UIKit

728x90
반응형

Lanch Screen

앱이 시작될 때 나타났다가 첫 화면으로 전환

  • 기본적으로 설정이 되어있음
  • 새로 파일을 만들었을 경우나 변경할 경우에는 Target > General > App Icons and Launch Images 에서 변경가능

시작 화면에 텍스트를 포함하지 마십시오. 시작 화면의 내용은 변경되지 않으므로 표시하는 텍스트는 현지화되지 않습니다.

출시 경험을 경시하십시오. 앱 또는 게임의 첫 번째 화면으로 원활하게 전환되는 시작 화면을 디자인합니다. 사람들이 즉시 경험을 시작하는 것을 지연시키는 시작 화면을 디자인하지 마십시오.

광고하지 마십시오. 출시 화면은 브랜딩 기회가 아닙니다. 시작 화면이나 "정보" 창처럼 보이는 화면을 만들지 말고 앱 첫 화면의 고정된 부분이 아닌 한 로고나 기타 브랜딩 요소를 포함하지 마세요. 게임 또는 기타 몰입형 앱이 첫 번째 화면으로 전환하기 전에 단색을 표시하는 경우 해당 단색만 표시하는 시작 화면을 만드십시오.

 

이미지 추가 후 스토리보드에서 적용

 

 

[적용 화면]

 

 

 

 

[딜레이 주는 방법]

 

AppDelegate.swift 파일에서

sleep() 호출!

 

 

프로그램이 실행될 준비가 되면 true를 반환하여 LaunchScreen 사라짐

sleep() 로 반환되는 시간을 지연시킴

 

 

 

 

참조

https://developer.apple.com/design/human-interface-guidelines/patterns/launching#launch-screens/

 

Launching - Patterns - Human Interface Guidelines - Design - Apple Developer

Launching People appreciate a streamlined launch experience so they can start using your app or game immediately. Best practices Provide a launch screen if the platform requires it. In iOS, iPadOS, and tvOS, the system displays a launch screen the moment y

developer.apple.com

https://developer.apple.com/documentation/uikit/uiapplicationdelegate/1622921-application

 

Apple Developer Documentation

 

developer.apple.com

 

728x90
반응형