iOS swift) SceneDelegate 처음 시작화면 지정(with navigation)
func scene(_ scene: UIScene, willConnectTo session: UISceneSession, options connectionOptions: UIScene.ConnectionOptions) {
guard let scene = (scene as? UIWindowScene) else { return }
window = UIWindow(windowScene: scene)
let rootVC = MainViewController()
let navVC = UINavigationController(rootViewController: rootVC)
self.window?.rootViewController = navVC
window?.makeKeyAndVisible()
}
'iOS > iOS SeSAC 2기 TIL' 카테고리의 다른 글
iOS swift) 메모앱 swipe시 navigation pop 효과 (0) | 2022.09.04 |
---|---|
iOS swift) 검색화면에서 scrolling시 키보드 내리기 (0) | 2022.09.04 |
2차 평가과제 중 알게된 것들 (테이블뷰 섹션 관련) (0) | 2022.09.02 |
[iOS swift] Tableview swipe 시 기능 추가 (0) | 2022.09.01 |
[iOS swift] 오픈소스라이브러리 Panmodal (0) | 2022.09.01 |