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
This commit is contained in:
Valentin Shergin 2017-03-19 21:49:26 -07:00 committed by Facebook Github Bot
parent 64c327ae68
commit d272334186
1 changed files with 0 additions and 1 deletions

View File

@ -69,7 +69,6 @@ NSString *const RCTContentDidAppearNotification = @"RCTContentDidAppearNotificat
_loadingViewFadeDelay = 0.25;
_loadingViewFadeDuration = 0.25;
_sizeFlexibility = RCTRootViewSizeFlexibilityNone;
self.autoresizingMask = UIViewAutoresizingFlexibleWidth | UIViewAutoresizingFlexibleHeight;
[[NSNotificationCenter defaultCenter] addObserver:self
selector:@selector(bridgeDidReload)