Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Invalid use of UIKit from a background thread #23

Open
ivan-magda opened this issue Jan 8, 2018 · 0 comments
Open

Invalid use of UIKit from a background thread #23

ivan-magda opened this issue Jan 8, 2018 · 0 comments

Comments

@ivan-magda
Copy link
Contributor

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;
ivan-magda added a commit to ivan-magda/HackerNewsReader that referenced this issue Jan 8, 2018
ivan-magda added a commit to ivan-magda/HackerNewsReader that referenced this issue Jan 8, 2018
JanX2 pushed a commit to JanX2/HackerNewsReader that referenced this issue Oct 12, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant