Skip to content

Commit

Permalink
Merge pull request Tencent#53 from wanhmr/master
Browse files Browse the repository at this point in the history
fixed typo error
  • Loading branch information
kayo5994 authored Feb 20, 2017
2 parents 0564fc0 + b109233 commit 9d8f39f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion QMUIKit/UIComponents/AssetLibrary/QMUIAsset.m
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 9d8f39f

Please sign in to comment.