Open Shanupa opened 4 years ago
Can you help on this ?
Hi guys,
I solved this issue by replacing the line 86 in the ListPicker.m file with this piece of code:
if (@available(iOS 12.0, *)) { switch (UIScreen.mainScreen.traitCollection.userInterfaceStyle) { case UIUserInterfaceStyleDark: [view setBackgroundColor:[UIColor colorWithRed:0.22 green:0.22 blue:0.22 alpha:1.0]]; break; case UIUserInterfaceStyleLight: case UIUserInterfaceStyleUnspecified: [view setBackgroundColor:[UIColor colorWithRed:0.97 green:0.97 blue:0.97 alpha:1.0]]; break; default: break; } }
That basically check if the Darkmode is enabled and set the background color of the picker black or white
In IOS Dark Mode, the dropdown items are not visible. We can see poor visible text. In Light Mode its working fine. Any fix regarding this issue ?