Simplified app initialization:
Removed SceneDelegate:
- Removed SceneDelegate configuration from Info.plist
- SceneDelegate class wasn't being found by iOS runtime
- Using traditional AppDelegate window approach instead
AppDelegate Window Setup:
- Create window in didFinishLaunchingWithOptions
- Instantiate ViewController directly
- Set as rootViewController and make key and visible
- Added logging to track initialization
Fixes:
- Black screen: AppDelegate now creates window and ViewController
- SceneDelegate error: removed problematic SceneDelegate configuration
- WebView initialization: ViewController should now be created correctly
Result: App should now initialize properly with ViewController and WebView