mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-04-28 12:15:37 +08: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:
committed by
Facebook Github Bot 0
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)
|
||||
|
||||
Reference in New Issue
Block a user