Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion MSColorPicker/MSColorSelectionView.m
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,12 @@ - (void)ms_init
{
self.accessibilityLabel = @"color_selection_view";

self.backgroundColor = [UIColor whiteColor];
if (@available(iOS 13.0, *)) {
self.backgroundColor = [UIColor systemBackgroundColor];
} else {
self.backgroundColor = [UIColor whiteColor];
}

self.rgbColorView = [[MSRGBView alloc] init];
self.hsbColorView = [[MSHSBView alloc] init];
[self addColorView:self.rgbColorView];
Expand Down