#### 1.스토리보드 제거
![[codebase_UI_setting_1.png]]
![[codebase_UI_setting_2.png]]
프로젝트 생성 시 자동으로 생성된 `Main` 스토리보드를 삭제한 후,
`Info.plist`에서 `UIKit Main Storyboard File Base Name` 과 `Storyboard Name` 키를 제거함으로써
스토리보드를 사용하지 않도록 설정함
<br>
#### 2.앱 실행 시 보여줄 루트뷰 설정
첫 화면이었던 `Main` 스토리보드를 삭제했으므로, 처음 실행될 View Controller를 직접 지정해줘야 함.
```swift
// SceneDelegate.swift
func scene(_ scene: UIScene, willConnectTo session: UISceneSession, options connectionOptions: UIScene.ConnectionOptions) {
guard let windowScene = (scene as? UIWindowScene) else { return }
// 윈도우 생성
let window = UIWindow(windowScene: windowScene)
// 루트 뷰 컨트롤러 설정
window.rootViewController = YourInitialViewController()
// 윈도우를 화면에 보이도록 설정
self.window = window
self.window?.makeKeyAndVisible()
}
```
<br>
[[iOS 앱의 life cycle 관리하기 (app-based, scene-based)|Scene life cycle]]을 채택했을 때, iOS 13 이전의 기기에서도 작동하려면 AppDelegate에서도 똑같은 작업을 수행해야 함.
<br>
<br> <br>