mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Fixes regression of RCTWindowFrameDidChangeNotification not fired (#47236)
Summary: Fixes https://github.com/facebook/react-native/issues/47234. regression from https://github.com/facebook/react-native/commit/391680fe844aad887e497912378c699aed13464b#diff-b7fda5d350ac535115fa683faa7317b43aa11f3448f95266ef9ff051c3753a6fL63 bypass-github-export-checks ## Changelog: [IOS] [FIXED] - Fixes regression of RCTWindowFrameDidChangeNotification not fired Pull Request resolved: https://github.com/facebook/react-native/pull/47236 Test Plan: Demo in https://github.com/facebook/react-native/issues/47234. Reviewed By: blakef Differential Revision: D65058105 Pulled By: cipolleschi fbshipit-source-id: 0e286182ed93f289cb853710e2e00801ef2d4f73
This commit is contained in:
committed by
Facebook GitHub Bot
parent
4192678bd7
commit
e271b23fad
@@ -76,6 +76,7 @@
|
||||
self.window = [[UIWindow alloc] initWithFrame:[UIScreen mainScreen].bounds];
|
||||
UIViewController *rootViewController = [self createRootViewController];
|
||||
[self setRootView:rootView toRootViewController:rootViewController];
|
||||
_window.windowScene.delegate = self;
|
||||
_window.rootViewController = rootViewController;
|
||||
[_window makeKeyAndVisible];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user