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

UI API called on a background thread #12

Open
felipeCostaNascimento opened this issue Jan 29, 2018 · 1 comment
Open

UI API called on a background thread #12

felipeCostaNascimento opened this issue Jan 29, 2018 · 1 comment

Comments

@felipeCostaNascimento
Copy link

I got an error message when function "thumbnailCount" is called:

Main Thread Checker: UI API called on a background thread: -[UIView frame][...]

Apparently, just calling this function inside the main thread seems to eliminate the error message.

I'm running on Swift 4, Xcode 9.2.

@jacolack
Copy link

jacolack commented Apr 9, 2018

I'm getting the same error, has anyone else been able to silence it with actual code? I found an answer here but I don't know how to actually solve the issue.

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

2 participants