Black screen in run application

HI again :smile::wave:t2:
I Learn Into to programatic UI No storyboard with Sean Aleen
but when run application not show just black screen
file Into

file AppDelegate

file UIView controller

IS there a solution …?

My friends​:pleading_face::two_hearts:

@1112
Tom,

Assuming that you are using Xcode 11, the code you had in AppDelegate should have been in SceneDelegate. The code should also be like this in SceneDelegate:

    guard let windowScene = (scene as? UIWindowScene) else { return }
    
    window = UIWindow(frame: windowScene.coordinateSpace.bounds)
    window?.windowScene = windowScene
    window?.rootViewController = ViewController()
    window?.makeKeyAndVisible()

thanks Chris very thanks :sob::heart::heart: