Commit f457e34b333fe3f30c86a2e6282e5ddcb87e212d
1 parent
27271283
解决完成按钮文字显示不全
Showing
3 changed files
with
4 additions
and
3 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.20' | 11 | + s.version = '0.0.21' |
| 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
| @@ -398,7 +398,7 @@ static CGFloat itemMargin = 5; | @@ -398,7 +398,7 @@ static CGFloat itemMargin = 5; | ||
| 398 | _originalPhotoLabel.frame = CGRectMake(fullImageWidth + 46, 0, 80, 50); | 398 | _originalPhotoLabel.frame = CGRectMake(fullImageWidth + 46, 0, 80, 50); |
| 399 | } | 399 | } |
| 400 | [_doneButton sizeToFit]; | 400 | [_doneButton sizeToFit]; |
| 401 | - _doneButton.frame = CGRectMake(self.view.tz_width - _doneButton.tz_width - 12, 0, _doneButton.tz_width, 50); | 401 | + _doneButton.frame = CGRectMake(self.view.tz_width - 60 - 12, 0, 60, 50); |
| 402 | _numberImageView.frame = CGRectMake(_doneButton.tz_left - 24 - 5, 13, 24, 24); | 402 | _numberImageView.frame = CGRectMake(_doneButton.tz_left - 24 - 5, 13, 24, 24); |
| 403 | _numberLabel.frame = _numberImageView.frame; | 403 | _numberLabel.frame = _numberImageView.frame; |
| 404 | _divideLine.frame = CGRectMake(0, 0, self.view.tz_width, 1); | 404 | _divideLine.frame = CGRectMake(0, 0, self.view.tz_width, 1); |
Example/Podfile
| 1 | use_frameworks! | 1 | use_frameworks! |
| 2 | -source 'https://github.com/CocoaPods/Specs.git' | 2 | +#source 'https://github.com/CocoaPods/Specs.git' |
| 3 | source 'http://bj.gitlab.cnlive.com/ios-team/CNLiveRepos.git' | 3 | source 'http://bj.gitlab.cnlive.com/ios-team/CNLiveRepos.git' |
| 4 | +source 'https://mirrors.tuna.tsinghua.edu.cn/git/CocoaPods/Specs.git' | ||
| 4 | 5 | ||
| 5 | platform :ios, '9.0' | 6 | platform :ios, '9.0' |
| 6 | 7 |