fix: remove UISceneDelegate from AppDelegate (#49628)

Summary:
After this change: https://github.com/facebook/react-native/pull/49078 UIWindowSceneDelegate is no longer needed.

This wasn't removed in the original PR.

## Changelog:

[iOS] [Removed] - Remove no longer needed UISceneDelegate

Pull Request resolved: https://github.com/facebook/react-native/pull/49628

Test Plan: CI GREEN

Reviewed By: cortinico

Differential Revision: D70102384

Pulled By: cipolleschi

fbshipit-source-id: e33185a4becd949a9f0ec1eabeeb4fe85ef3ee79
This commit is contained in:
Oskar Kwaśniewski
2025-02-25 05:03:12 -08:00
committed by Facebook GitHub Bot
parent acc4c9ed57
commit a033cf9d5e
2 changed files with 2 additions and 2 deletions
@@ -11,7 +11,7 @@ import ReactAppDependencyProvider
import UIKit
@main
class AppDelegate: UIResponder, UIApplicationDelegate, UIWindowSceneDelegate {
class AppDelegate: UIResponder, UIApplicationDelegate {
var window: UIWindow?
var reactNativeDelegate: ReactNativeDelegate?
+1 -1
View File
@@ -9,7 +9,7 @@
#import <RCTReactNativeFactory.h>
#import <UIKit/UIKit.h>
@interface AppDelegate : RCTDefaultReactNativeFactoryDelegate <UIApplicationDelegate, UISceneDelegate>
@interface AppDelegate : RCTDefaultReactNativeFactoryDelegate <UIApplicationDelegate>
@property (nonatomic, strong, nonnull) UIWindow *window;
@property (nonatomic, strong, nonnull) RCTReactNativeFactory *reactNativeFactory;