Hi,
I had the same problem with my App since I installed Mac OS Sonoma. By chance I discovered a way to work around this...
Just try:
let alert = UIAlertController(title: "", message: "", preferredStyle: UIAlertController.Style.actionSheet)
with a null title, message and actionSheet Style
In my case this solved half of the problem at this step. The presentation is good but of course the title disappeared.
And then you can install a title with alert.setValue
Hope it helps!
Topic:
Programming Languages
SubTopic:
Swift
Tags: