Commit a4d78f585c9033b03f54b015f53dc7d771456a7a

Authored by 梁星国
1 parent 6d72a0aa

提交0.0.18_禁止长视频文案

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.17'
  11 + s.version = '0.0.18'
12 12 s.summary = '相册'
13 13  
14 14 # This description is used to generate tags and improve search results.
... ...
CNLiveImagePickerController/Classes/TZPhotoPreviewController.m
... ... @@ -755,11 +755,11 @@
755 755 NSInteger seconds = _tzImagePickerVc.maxVideoDuration % 60;
756 756 NSString *timeStr = [NSString string];
757 757 if (minutes == 0) {
758   - timeStr = [NSString stringWithFormat:@"不能分享超过%li秒视频",(long)seconds];
  758 + timeStr = [NSString stringWithFormat:@"不能分享超过%li秒视频",(long)seconds];
759 759 }else if (seconds == 0){
760   - timeStr = [NSString stringWithFormat:@"不能分享超过%li分视频",(long)minutes];
  760 + timeStr = [NSString stringWithFormat:@"不能分享超过%li分钟的视频",(long)minutes];
761 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 764 _tipContentLabel.text = timeStr;
765 765  
... ...