CoreAutoLayout: _AssertAutoLayoutOnAllowedThreadsOnly + 328

I have been having intermittent Crashes but I still have no idea why that is happening. Seems to happen right after I initialize a Controller from Storyboard.

Let me know if you have any inputs on fixing this crash. Thanks!!

Replies

You are calling some UIKit methods on a different thread. UIKit mostly can be used only from the main thread. You've got a NSURLSession that runs a callback on a background thread and then calls UIKit. The main thread checker is useful to catch this kind of issues.