Hi Claude,
None of them work in Xcode 13.1. The closest answer [1] I found in Swift mentioned SceneDelegate. I made an objc version from it. It compiles but render the window black. I then used the white background. But my tableView isn't there. If I comment them, my tableView shows. But clicking on cell navigation still won't work, if I don't embed in a navigation controller like this " Editor / Embed in / Navigation Controller ".
Our network situation is bad. We are blocked from the most sites on internet. We can read post on stackoverflow but can't post to it.
UIWindowScene *windowScene = [[UIWindowScene alloc] initWithSession:session connectionOptions:connectionOptions]; self.window.windowScene = windowScene; [self.window makeKeyAndVisible]; UIViewController *viewController = [[UIViewController alloc] init]; UINavigationController *navigationController = [[UINavigationController alloc] initWithRootViewController:viewController]; self.window.rootViewController = navigationController; //self.window.backgroundColor = [UIColor whiteColor];
[1] https://stackoverflow.com/a/59538839
Topic:
UI Frameworks
SubTopic:
UIKit
Tags: