SilenceLove / HXPHPicker

Photo/Video Selector-Supports LivePhoto, GIF selection, online download of resources on iCloud, and editing of photos/videos

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

image is set on a background thread - PhotoEditorContentView

t3b123 opened this issue · comments

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 } }

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