Add background color to iOS diagnostic screen

Summary:
Some apps have a default background color, for example black, making the diagnostic screen fully black.
Fix this by making sure the bg is always white so the text is readable.

Reviewed By: passy

Differential Revision: D9400682

fbshipit-source-id: a45744f833cb7fe5ca7db4dcdacc09f304670032
This commit is contained in:
John Knox
2018-08-21 12:38:56 -07:00
committed by Facebook Github Bot
parent b4b5ccdcd6
commit e2575239f2

View File

@@ -20,6 +20,7 @@
[self.scrollView addSubview:self.stateLabel];
self.scrollView.contentSize = self.stateLabel.frame.size;
[self.view addSubview:self.scrollView];
self.view.backgroundColor = [UIColor whiteColor];
}
- (void)onUpdate {