Closed t3b123 closed 2 years ago
setting an image should be back on the main thread no?
There is no setting here, only get
sorry I got it confused. I meant getting on the main thread
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
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 } }