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

Dangerous warning #126

Closed
aashishdhawan opened this issue Apr 1, 2016 · 4 comments
Closed

Dangerous warning #126

aashishdhawan opened this issue Apr 1, 2016 · 4 comments

Comments

@aashishdhawan
Copy link
Contributor

getting following warning in console...I am not sure about steps to reproduce...will debug when bandwidth is available.
2016-04-01 05:54:46.928 ImagePickerDemo[1746:533854] 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.

@guidove
Copy link

guidove commented Apr 5, 2016

Hi. Got the same warning. And also got a BS Mach Error just before this warning. In ImagePickerController.swift I wrapped everything inside viewDidLoad, viewWillAppear, viewDidAppear, pickerButtonDidPress, doneButtonDidPress, cancelButtonDidPress, imageStackViewDidPress into dispatch_async(dispatch_get_main_queue()) { ... } That seemed to get rid of the above warning. BS Mach Error still appears though somehow.

I know this is more like a "wide spectrum" solution, but unfortunately don't have time to go into the details at the moment. Thought this might be helpful in figuring out the exact cause though.

@onmyway133
Copy link
Contributor

@aashishdhawan @guidove thanks for letting us know. I'm using https://github.com/onmyway133/MainThreadGuard to check it

@vin-the-dev
Copy link

Same warning in iPad and iPhone 5,
Also after taking a picture from camera, then the gallery selection gets stuck

@aashishdhawan
Copy link
Contributor Author

@vinbhai4u @guidove This has been fixed in #136

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants