본문 바로가기
iOS

[iOS] rootViewController 변경하기

by Sky Titan 2021. 6. 15.
728x90
 

iOS 13: Swift - 'Set application root view controller programmatically' does not work

I have following code in my AppDelegate.swift to setup root view controller for an iOS application. But it does not work. It follows Target structure (defined under General tab) and ignores this co...

stackoverflow.com

rootViewController 변경하기

  1. SceneDelegate.swift 삭제
  2. Info.plist의 Application Scene Manifest 키 삭제
  3. AppDelegate.swift의 UISceneSession lifeCycle 함수들 제거
  4. 코드 적용

 

728x90

댓글