I searched for a way to do this but found no answers! I can change the background color of the buttons, but not the arrow color.
So far I've done this:
let alert: UIAlertController = UIAlertController(title: nil, message: nil, preferredStyle: .actionSheet)
alert.view.tintColor = themeTextColor
alert.view.backgroundColor = themeDialog
I've also tried this:
alert.popoverPresentationController?.backgroundColor = themeDialog
but it doesn't change anything.
The result looks like this:
See the white areas?