Ah, I think I know what you're seeing. The implemenation of SceneDelegate appears to have changed between beta 2 and 3.
Previously if you created a new SwiftUI project you'd see soemthing like this:
func scene(_ scene: UIScene, willConnectTo session: UISceneSession, options connectionOptions: UIScene.ConnectionOptions) {
let window = UIWindow(frame: UIScreen.main.bounds)
window.rootViewController = UIHostingController(rootView: ContentView())
self.window = window
window.makeKeyAndVisible()
}
As of beta 3, you'll need to cast the scene parameter as a UIWindowScene. Creating a new SwiftUI application with the Single View template now gives you something like this:
func scene(_ scene: UIScene, willConnectTo session: UISceneSession, options connectionOptions: UIScene.ConnectionOptions) {
if let windowScene = scene as? UIWindowScene {
let window = UIWindow(windowScene: windowScene)
window.rootViewController = UIHostingController(rootView: ContentView())
self.window = window
window.makeKeyAndVisible()
}
}
Try updating your SceneDelegate and see if that resolves the issue.