Closed kirankumarg99 closed 4 years ago
I have attached the image as well
same problems iOS 12 dark mode causing the problems
Same problem here, values are in the list, but text color is white, on a white background
You can resolve dark mode issues setting pickerTextAttributes property with your (theme aware) colors.
Example (ObjC):
NSDictionary *rowTextAttributes = @{NSFontAttributeName :font, NSForegroundColorAttributeName : textColor, NSBackgroundColorAttributeName : backgroundColor};
[rowTextAttributes enumerateKeysAndObjectsUsingBlock:^(id key, id value, BOOL * _Nonnull stop) {
picker.pickerTextAttributes[key] = value;
}];
Hello. please check the latest version. Should be fixed. Feel free to reopen the issue, if you still need help. 👍
ActionSheetPicker values are not being displayed on iPhone on iOS 13. But on scrolling on the picker and select a value(not visible on the screen), the selected item value is updating in the label . Could you please help