Commit 6f2aa2bec705327d3dd55a11908b610bbb18886c
1 parent
8744e5d6
提交0.0.13
Showing
2 changed files
with
6 additions
and
5 deletions
CNLiveImagePickerController.podspec
| @@ -8,7 +8,7 @@ | @@ -8,7 +8,7 @@ | ||
| 8 | 8 | ||
| 9 | Pod::Spec.new do |s| | 9 | Pod::Spec.new do |s| |
| 10 | s.name = 'CNLiveImagePickerController' | 10 | s.name = 'CNLiveImagePickerController' |
| 11 | - s.version = '0.0.12' | 11 | + s.version = '0.0.13' |
| 12 | s.summary = '相册' | 12 | s.summary = '相册' |
| 13 | 13 | ||
| 14 | # This description is used to generate tags and improve search results. | 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,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 | /*** 当只有返回Asset 和 没选择时走 ***/ | 608 | /*** 当只有返回Asset 和 没选择时走 ***/ |
| 612 | if (tzImagePickerVc.selectedModels.count <= 0 || tzImagePickerVc.onlyReturnAsset) { | 609 | if (tzImagePickerVc.selectedModels.count <= 0 || tzImagePickerVc.onlyReturnAsset) { |
| 610 | + dispatch_async(dispatch_get_main_queue(), ^{ | ||
| 611 | + [tzImagePickerVc hideProgressHUD]; | ||
| 612 | + }); | ||
| 613 | + | ||
| 613 | [weakSelf didGetAllPhotos:photos assets:assets selectedModels:selectedModels infoArr:infoArr]; | 614 | [weakSelf didGetAllPhotos:photos assets:assets selectedModels:selectedModels infoArr:infoArr]; |
| 614 | } | 615 | } |
| 615 | 616 |