mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
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:
committed by
Facebook GitHub Bot
parent
acc4c9ed57
commit
a033cf9d5e
@@ -11,7 +11,7 @@ import ReactAppDependencyProvider
|
||||
import UIKit
|
||||
|
||||
@main
|
||||
class AppDelegate: UIResponder, UIApplicationDelegate, UIWindowSceneDelegate {
|
||||
class AppDelegate: UIResponder, UIApplicationDelegate {
|
||||
var window: UIWindow?
|
||||
|
||||
var reactNativeDelegate: ReactNativeDelegate?
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user