Commit 6f2aa2bec705327d3dd55a11908b610bbb18886c

Authored by 梁星国
1 parent 8744e5d6

提交0.0.13

CNLiveImagePickerController.podspec
... ... @@ -8,7 +8,7 @@
8 8  
9 9 Pod::Spec.new do |s|
10 10 s.name = 'CNLiveImagePickerController'
11   - s.version = '0.0.12'
  11 + s.version = '0.0.13'
12 12 s.summary = '相册'
13 13  
14 14 # This description is used to generate tags and improve search results.
... ...
CNLiveImagePickerController/Classes/TZPhotoPickerController.m
... ... @@ -604,12 +604,13 @@ static CGFloat itemMargin = 5;
604 604  
605 605 }
606 606  
607   - dispatch_async(dispatch_get_main_queue(), ^{
608   - [tzImagePickerVc hideProgressHUD];
609   - });
610   -
  607 +
611 608 /*** 当只有返回Asset 和 没选择时走 ***/
612 609 if (tzImagePickerVc.selectedModels.count <= 0 || tzImagePickerVc.onlyReturnAsset) {
  610 + dispatch_async(dispatch_get_main_queue(), ^{
  611 + [tzImagePickerVc hideProgressHUD];
  612 + });
  613 +
613 614 [weakSelf didGetAllPhotos:photos assets:assets selectedModels:selectedModels infoArr:infoArr];
614 615 }
615 616  
... ...