mirror of
https://github.com/status-im/react-native.git
synced 2025-02-26 16:10:58 +00:00
Set autoresizingMask to redraw root when resizing RN window
Reviewed By: javache Differential Revision: D3177081 fb-gh-sync-id: 987167033329413cd0a4b296ca849758ec87368c fbshipit-source-id: 987167033329413cd0a4b296ca849758ec87368c
This commit is contained in:
parent
b2ecc83ead
commit
e02d400f53
@ -74,6 +74,7 @@ NSString *const RCTContentDidAppearNotification = @"RCTContentDidAppearNotificat
|
||||
_loadingViewFadeDelay = 0.25;
|
||||
_loadingViewFadeDuration = 0.25;
|
||||
_sizeFlexibility = RCTRootViewSizeFlexibilityNone;
|
||||
self.autoresizingMask = UIViewAutoresizingFlexibleWidth | UIViewAutoresizingFlexibleHeight;
|
||||
|
||||
[[NSNotificationCenter defaultCenter] addObserver:self
|
||||
selector:@selector(bridgeDidReload)
|
||||
|
Loading…
x
Reference in New Issue
Block a user