SceneDelegate(2)
-
[Application] The app delegate must implement the window property if it wants to use a main storyboard file.
Xcode12.2 에서 Run 실행시 검은색 화면만 나오는 문제 발생 콘솔로그에 아래 메시지가 노출 [Application] The app delegate must implement the window property if it wants to use a main storyboard file. ▦ 해결 방법 AppDelegate.h @interface AppDelegate : UIResponder @property (strong, nonatomic) UIWindow *window; // 추가 @end
2021.03.09 -
SceneDelegate 사용하지 않고 개발하기
● Swift 1. SceneDelegate.swift 파일 삭제 2. AppDelegate.swift 코드 추가 var window: UIWindow? 3. AppDelegate.swift 함수 제거 // MARK: UISceneSession Lifecycle func application(_ application: UIApplication, configurationForConnecting connectingSceneSession: UISceneSession, options: UIScene.ConnectionOptions) -> UISceneConfiguration { // Called when a new scene session is being created. // Use this method t..
2020.06.30