IOS

iOS 시뮬레이터를 실행할 때 검은 화면

asu2880 2021. 4. 19. 10:04

다음과 같이 창을 초기화해야합니다.

 

  1. class AppDelegate: UIResponder, UIApplicationDelegate {
  2. //Add this line
  3. var window: UIWindow?
  4. func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool {
  5. // Override point for customization after application launch.
  6. return true
  7. }
  8. ...
  9. }
728x90
반응형

'IOS' 카테고리의 다른 글

푸시인증서p12  (0) 2021.06.01
[iOS] 'UIScene' is only available in iOS 13.0 or newer  (0) 2021.04.19