Skip to content

Commit

Permalink
Fixes regression of RCTWindowFrameDidChangeNotification not fired (#4…
Browse files Browse the repository at this point in the history
…7236)

Summary:
Fixes #47234. regression from 391680f#diff-b7fda5d350ac535115fa683faa7317b43aa11f3448f95266ef9ff051c3753a6fL63

bypass-github-export-checks

## Changelog:

[IOS] [FIXED] - Fixes regression of RCTWindowFrameDidChangeNotification not fired

Pull Request resolved: #47236

Test Plan: Demo in #47234.

Reviewed By: blakef

Differential Revision: D65058105

Pulled By: cipolleschi

fbshipit-source-id: 0e286182ed93f289cb853710e2e00801ef2d4f73
  • Loading branch information
zhongwuzw authored and facebook-github-bot committed Oct 28, 2024
1 parent 4192678 commit e271b23
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ - (void)loadReactNativeWindow:(NSDictionary *)launchOptions
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];
}
Expand Down

0 comments on commit e271b23

Please sign in to comment.