Commit f457e34b333fe3f30c86a2e6282e5ddcb87e212d
1 parent
27271283
解决完成按钮文字显示不全
Showing
3 changed files
with
4 additions
and
3 deletions
CNLiveImagePickerController.podspec
CNLiveImagePickerController/Classes/TZPhotoPickerController.m
| ... | ... | @@ -398,7 +398,7 @@ static CGFloat itemMargin = 5; |
| 398 | 398 | _originalPhotoLabel.frame = CGRectMake(fullImageWidth + 46, 0, 80, 50); |
| 399 | 399 | } |
| 400 | 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 | 402 | _numberImageView.frame = CGRectMake(_doneButton.tz_left - 24 - 5, 13, 24, 24); |
| 403 | 403 | _numberLabel.frame = _numberImageView.frame; |
| 404 | 404 | _divideLine.frame = CGRectMake(0, 0, self.view.tz_width, 1); | ... | ... |
Example/Podfile
| 1 | 1 | use_frameworks! |
| 2 | -source 'https://github.com/CocoaPods/Specs.git' | |
| 2 | +#source 'https://github.com/CocoaPods/Specs.git' | |
| 3 | 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 | 6 | platform :ios, '9.0' |
| 6 | 7 | ... | ... |