iOS13 UIAlertController with custom view & preferredStyle as actionsheet grayscale all colors
问题 I'm not exactly sure if it's a bug or a feature, but this code: let sheet = UIAlertController(customView: awesomeView, preferredStyle: .actionSheet) .... present(sheet, animated: true, completion: nil) in pre-iOS 13 gives me this result: and on iOS 13: I.e. all the customview's elements have been grayscale. I've tried to play with Tint/Text/Background/... colors of the buttons / label - in iOS 13 is does no effect at all. In older versions - UI is changing. The goal: to avoid the grayscale