Closed salos1982 closed 3 years ago
It's likely some change in UIKit between iOS 12 and 13, but not sure what that would be.
I found reason
var blurEffect: UIBlurEffect {
if #available(iOS 13, *) {
return UIBlurEffect(style: .systemMaterial)
} else if #available(iOS 10, *) {
return UIBlurEffect(style: .prominent)
} else {
return UIBlurEffect(style: .extraLight)
}
}
for ios 12 this property in AlertVisualStyle returns UIBlurEffect(style: .prominent)
. If replace this return to UIBlurEffect(style: .dark)
it will show everything as I need. However, I cannot change behaviour of this property anyhow.
But then it would be dark even if the user has light mode set?
It would be nice if it is possible to override this property. In this case, it would be possible to set up necessary behavior
Could you tell me when you merge my pull request and update version?
Handled in #315, sorry for the delay
Hello,
I'm using this great alert view. But I found an issue I cannot understand. I use a dark theme for my application. And on ios 13 it works correctly. Like on image bellow
But on ios 12 it looks very different
I do not understand why