SilenceLove / HXPHPicker

Photo/Video Selector-Supports LivePhoto, GIF selection, online download of resources on iCloud, and editing of photos/videos
MIT License
364 stars 74 forks source link

最新版本选择图片后闪退 #88

Closed liujieyuu closed 1 year ago

liujieyuu commented 2 years ago
func pickerController(_ pickerController: PhotoPickerController, didFinishSelection result: PickerResult) {

var tempArr:[UIImage] = [] result.photoAssets.forEach { tempArr.append($0.originalImage) } }

originalImage 为nil,之前版本没这个问题

SilenceLove commented 2 years ago

之前的版本里面有些问题,这个是可能nil的。推荐用getimage的方法

SilenceLove commented 1 year ago

是内部没判断是否同步请求的,下个版本修复