From b109233b3ab7dbe7c13d58fe2adb0490864f3932 Mon Sep 17 00:00:00 2001 From: "pengxiang.tao" Date: Mon, 20 Feb 2017 10:49:17 +0800 Subject: [PATCH] fixed typo error use _livePhoto --- QMUIKit/UIComponents/AssetLibrary/QMUIAsset.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/QMUIKit/UIComponents/AssetLibrary/QMUIAsset.m b/QMUIKit/UIComponents/AssetLibrary/QMUIAsset.m index 7343d18a..ee920056 100644 --- a/QMUIKit/UIComponents/AssetLibrary/QMUIAsset.m +++ b/QMUIKit/UIComponents/AssetLibrary/QMUIAsset.m @@ -257,7 +257,7 @@ - (NSInteger)requestPreviewImageWithCompletion:(void (^)(UIImage *, NSDictionary - (NSInteger)requestLivePhotoWithCompletion:(void (^)(PHLivePhoto *, NSDictionary *))completion withProgressHandler:(PHAssetImageProgressHandler)phProgressHandler { if (_usePhotoKit && [[PHCachingImageManager class] instancesRespondToSelector:@selector(requestLivePhotoForAsset:targetSize:contentMode:options:resultHandler:)]) { - if (_previewImage) { + if (_livePhoto) { // 如果已经有缓存的 LivePhoto 则直接拿缓存的 LivePhoto if (completion) { completion(_livePhoto, nil);