We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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:
Can you help on this ?
Sorry, something went wrong.
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
No branches or pull requests
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: