fix(ios): add @objc annotation to SceneDelegate for runtime visibility

Added @objc annotation to SceneDelegate:

Objective-C Runtime:
- Added @objc(SceneDelegate) annotation
- Makes class visible to Objective-C runtime
- Required for Info.plist class name resolution

Fixes:
- SceneDelegate loading: class can now be found by iOS runtime
- Info.plist resolution: UISceneDelegateClassName can now resolve
- ViewController creation: SceneDelegate can now instantiate ViewController

Result: SceneDelegate should now be loadable by iOS runtime
This commit is contained in:
Matthew Raymer
2025-11-11 21:20:48 -08:00
parent 86497f8604
commit 517fe15d4d

View File

@@ -18,6 +18,7 @@ import os.log
* Required for modern iOS apps using scene-based architecture * Required for modern iOS apps using scene-based architecture
*/ */
@available(iOS 13.0, *) @available(iOS 13.0, *)
@objc(SceneDelegate)
class SceneDelegate: UIResponder, UIWindowSceneDelegate { class SceneDelegate: UIResponder, UIWindowSceneDelegate {
var window: UIWindow? var window: UIWindow?