Skip to content

Commit d272334

Browse files
sherginfacebook-github-bot
authored andcommitted
RCTRootView is now has empty autoresizing mask by default
Summary: `autoresizingMask` is supposed to be set outside self class, this is UIKit convention. Reviewed By: mmmulani Differential Revision: D4697098 fbshipit-source-id: 7e0aa5d3032184de980b3cecafebbc4ce8ef9ada
1 parent 64c327a commit d272334

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

React/Base/RCTRootView.m

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,6 @@ - (instancetype)initWithBridge:(RCTBridge *)bridge
6969
_loadingViewFadeDelay = 0.25;
7070
_loadingViewFadeDuration = 0.25;
7171
_sizeFlexibility = RCTRootViewSizeFlexibilityNone;
72-
self.autoresizingMask = UIViewAutoresizingFlexibleWidth | UIViewAutoresizingFlexibleHeight;
7372

7473
[[NSNotificationCenter defaultCenter] addObserver:self
7574
selector:@selector(bridgeDidReload)

0 commit comments

Comments
 (0)