Posts

Post not yet marked as solved
6 Replies
I dealt with the same thing. I was able to find the offending logic using the trick found here: https://stackoverflow.com/questions/58087536/modifications-to-the-layout-engine-must-not-be-performed-from-a-background-thr#answer-59299616After that, I simply wrapped it indispatch_async(dispatch_get_main_queue(), ^{ // offending code goes in here });With this, I was able to make sure my view was presented by the main thread, and no crash 🙂 ¯\_(ツ)_/¯