스토리 보드 없이 시작하기 1. General Main interface 의 Main 에 빈칸으로 만들어준다 (빈칸 만들고 엔터) 2. info.plist에서도 Storyboard Name 을 빼준다. 3.
SceneDelgate.swift 수정 func scene(_ scene: UIScene, willConnectTo session: UISceneSession, options connectionOptions: UIScene.ConnectionOptions) { guard let scene = (scene as? UIWindowScene) else {return} window = UIWindow(frame: scene.coordinateSpace.bounds) window?.
windowScene = scene // rootVC 에 시작할 VC넣음 window?.rootViewController = MainViewController() window?.
makeKeyAndVisible(...
원문 링크 : [iOS] 스토리보드 없이 시작하기