diff --git a/React/CoreModules/RCTPerfMonitor.mm b/React/CoreModules/RCTPerfMonitor.mm index 3f710ae1333a6f..b137643f4b85c9 100644 --- a/React/CoreModules/RCTPerfMonitor.mm +++ b/React/CoreModules/RCTPerfMonitor.mm @@ -197,7 +197,11 @@ - (UIView *)container { if (!_container) { _container = [[UIView alloc] initWithFrame:CGRectMake(10, 25, 180, RCTPerfMonitorBarHeight)]; - _container.backgroundColor = UIColor.whiteColor; + if (@available(iOS 13.0, *)) { + _container.backgroundColor = UIColor.systemBackgroundColor; + } else { + _container.backgroundColor = UIColor.whiteColor; + } _container.layer.borderWidth = 2; _container.layer.borderColor = [UIColor lightGrayColor].CGColor; [_container addGestureRecognizer:self.gestureRecognizer];