|
@@ -19,7 +19,7 @@
|
19
|
19
|
- (void)setAlignment:(NSString *)alignment inFrame:(CGRect)frame {
|
20
|
20
|
if ([alignment isEqualToString:@"fill"]) {
|
21
|
21
|
_fillParent = YES;
|
22
|
|
- self.frame = frame;
|
|
22
|
+ self.translatesAutoresizingMaskIntoConstraints = NO;
|
23
|
23
|
self.sizeFlexibility = RCTRootViewSizeFlexibilityNone;
|
24
|
24
|
} else {
|
25
|
25
|
self.sizeFlexibility = RCTRootViewSizeFlexibilityWidthAndHeight;
|