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

Refresh UI crashed in iOS 9 #16

Open
goodman-capu opened this issue Dec 5, 2015 · 1 comment
Open

Refresh UI crashed in iOS 9 #16

goodman-capu opened this issue Dec 5, 2015 · 1 comment

Comments

@goodman-capu
Copy link

When refreshing the image view's image when the view is not showing, I used
[view performSelectorOnMainThread:@selector(setImage:) withObject:[UIImage imageWithData:imageData] waitUntilDone:NO];
But still crashed, Xcode reports:
This application is modifying the autolayout engine from a background thread, which can lead to engine corruption and weird crashes. This will cause an exception in a future release.

@goodman-capu goodman-capu changed the title Not refreshing UI In iOS 9 Not refreshing UI in iOS 9 Dec 5, 2015
@goodman-capu goodman-capu changed the title Not refreshing UI in iOS 9 Refresh UI crashed in iOS 9 Dec 6, 2015
@gerchicov-bp
Copy link

dispatch_async(get_main_queue()...

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