Been encountering this error a lot in my OS X using swift:
\"This application is modifying the autolayout engine from a background thread, which can
I had the same problem. Turns out I was using UIAlerts
that needed the main queue. But, they've been deprecated.
When I changed the UIAlerts
to the UIAlertController
, I no longer had the problem and did not have to use any dispatch_async
code. The lesson - pay attention to warnings. They help even when you don't expect it.