You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 ?
The text was updated successfully, but these errors were encountered: