Invalid use of UIKit from a background thread
ivan-magda opened this issue · 0 comments
ivan-magda commented
Main Thread Checker detected invalid usage of UIKit on a background thread:
Classes/ViewControllers/HNCommentViewController.m:
runtime: UI API called from background thread: -[UIView bounds] must be used from main thread only
Inside of [dataCoordinator:didUpdateObject:]
CGFloat width = CGRectGetWidth(self.view.bounds) - insets.left - insets.right;