image is set on a background thread - PhotoEditorContentView
t3b123 opened this issue · comments
t3b123 commented
in the PhotoEditorContentView.swift file you set the image on the background thread. You should change it to main thread when the user crops the image.
var image: Any? { DispatchQueue.main.sync { imageView.image } }
t3b123 commented
setting an image should be back on the main thread no?
Silence commented
There is no setting here, only get
t3b123 commented
sorry I got it confused. I meant getting on the main thread
t3b123 commented
if you make an edit to a photo you will see that xcode with give you a warning to get it from the main thread instead. check and please let me know