Commit a4d78f585c9033b03f54b015f53dc7d771456a7a
1 parent
6d72a0aa
提交0.0.18_禁止长视频文案
Showing
2 changed files
with
4 additions
and
4 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.17' | 11 | + s.version = '0.0.18' |
| 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/TZPhotoPreviewController.m
| @@ -755,11 +755,11 @@ | @@ -755,11 +755,11 @@ | ||
| 755 | NSInteger seconds = _tzImagePickerVc.maxVideoDuration % 60; | 755 | NSInteger seconds = _tzImagePickerVc.maxVideoDuration % 60; |
| 756 | NSString *timeStr = [NSString string]; | 756 | NSString *timeStr = [NSString string]; |
| 757 | if (minutes == 0) { | 757 | if (minutes == 0) { |
| 758 | - timeStr = [NSString stringWithFormat:@"不能分享超过%li秒视频",(long)seconds]; | 758 | + timeStr = [NSString stringWithFormat:@"不能分享超过%li秒的视频",(long)seconds]; |
| 759 | }else if (seconds == 0){ | 759 | }else if (seconds == 0){ |
| 760 | - timeStr = [NSString stringWithFormat:@"不能分享超过%li分视频",(long)minutes]; | 760 | + timeStr = [NSString stringWithFormat:@"不能分享超过%li分钟的视频",(long)minutes]; |
| 761 | }else{ | 761 | }else{ |
| 762 | - timeStr = [NSString stringWithFormat:@"不能分享超过%li分%li秒视频",(long)minutes,(long)seconds]; | 762 | + timeStr = [NSString stringWithFormat:@"不能分享超过%li分%li秒的视频",(long)minutes,(long)seconds]; |
| 763 | } | 763 | } |
| 764 | _tipContentLabel.text = timeStr; | 764 | _tipContentLabel.text = timeStr; |
| 765 | 765 |