RCTRedBox should appear beneath the status bar
Reviewed By: fromcelticpark Differential Revision: D6370566 fbshipit-source-id: fe59a789113c2e8c24e96e560647efbd8bdfe67b
This commit is contained in:
parent
9180d4eb82
commit
33cefc1760
|
@ -41,7 +41,11 @@
|
|||
- (instancetype)initWithFrame:(CGRect)frame
|
||||
{
|
||||
if ((self = [super initWithFrame:frame])) {
|
||||
#if TARGET_OS_TV
|
||||
self.windowLevel = UIWindowLevelAlert + 1000;
|
||||
#else
|
||||
self.windowLevel = UIWindowLevelStatusBar - 1;
|
||||
#endif
|
||||
self.backgroundColor = [UIColor colorWithRed:0.8 green:0 blue:0 alpha:1];
|
||||
self.hidden = YES;
|
||||
|
||||
|
|
Loading…
Reference in New Issue