[ReactNative] Max RedBox windowLevel to always appear on top

This commit is contained in:
Eric Vicenti 2015-07-17 13:21:25 -07:00
parent b56717ede9
commit c4389c006f
1 changed files with 1 additions and 1 deletions

View File

@ -36,7 +36,7 @@
{
if ((self = [super initWithFrame:frame])) {
_redColor = [UIColor colorWithRed:0.8 green:0 blue:0 alpha:1];
self.windowLevel = UIWindowLevelStatusBar + 5;
self.windowLevel = CGFLOAT_MAX;
self.backgroundColor = _redColor;
self.hidden = YES;