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 коммит произвёл Facebook Github Bot
Родитель 64c327ae68
Коммит d272334186
1 изменённых файлов: 0 добавлений и 1 удалений

Просмотреть файл

@ -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)