ActionSheetStringPicker dark mode off
** set overrideUserInterfaceStyle after showActionSheetPicker
*** code
ActionSheetStringPicker *picker = ...
[picker showActionSheetPicker];
if (@available(iOS 13.0, *)) {
picker.pickerView.overrideUserInterfaceStyle = UIUserInterfaceStyleLight;
} else {
// Fallback on earlier versions
}
** set overrideUserInterfaceStyle after showActionSheetPicker
*** code
ActionSheetStringPicker *picker = ...
[picker showActionSheetPicker];
if (@available(iOS 13.0, *)) {
picker.pickerView.overrideUserInterfaceStyle = UIUserInterfaceStyleLight;
} else {
// Fallback on earlier versions
}
댓글
댓글 쓰기