Skip to content

Commit 8e04696

Browse files
author
yuzheng
committed
发布3.0.7,适配iPhoneXR、XS、XS Max,建议大家尽快更新
1 parent c4cb76b commit 8e04696

7 files changed

Lines changed: 10 additions & 8 deletions

File tree

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@
1212

1313
## 重要提示3:1.9.0版本后移除了"prefs:root="的调用,这个API已经被列为私有API,请大家尽快升级。
1414

15+
## 重要提示4 **3.0.7 适配iPhoneXR、XS、XS Max,建议大家尽快更新**
16+
1517
关于升级iOS10和Xcdoe8的提示:
1618
在Xcode8环境下将项目运行在iOS10的设备/模拟器中,访问相册和相机需要额外配置info.plist文件。分别是Privacy - Photo Library Usage Description和Privacy - Camera Usage Description字段,详见Demo中info.plist中的设置。
1719

@@ -128,6 +130,7 @@ A:视频导出分两步,第一步是通过PHAsset获取AVURLAsset,如是iC
128130

129131
## 六. Release Notes 最近更新
130132

133+
**3.0.7 适配iPhoneXR、XS、XS Max,建议大家尽快更新**
131134
3.0.6 优化保存照片、视频的方法
132135
3.0.1 新增对[TZImagePreviewController](https://github.com/banchichen/TZImagePreviewController)库的支持,允许预览UIImage、NSURL、PHAsset对象
133136
**3.0.0 去除iOS6和7的适配代码,更轻量,最低支持iOS8**

TZImagePickerController.podspec

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
Pod::Spec.new do |s|
22
s.name = "TZImagePickerController"
3-
s.version = "3.0.6"
3+
s.version = "3.0.7"
44
s.summary = "A clone of UIImagePickerController, support picking multiple photos、original photo and video"
55
s.homepage = "https://github.com/banchichen/TZImagePickerController"
66
s.license = "MIT"
77
s.author = { "banchichen" => "tanzhenios@foxmail.com" }
88
s.platform = :ios
99
s.ios.deployment_target = "8.0"
10-
s.source = { :git => "https://github.com/banchichen/TZImagePickerController.git", :tag => "3.0.6" }
10+
s.source = { :git => "https://github.com/banchichen/TZImagePickerController.git", :tag => "3.0.7" }
1111
s.requires_arc = true
1212
s.resources = "TZImagePickerController/TZImagePickerController/*.{png,bundle}"
1313
s.source_files = "TZImagePickerController/TZImagePickerController/*.{h,m}"

TZImagePickerController/Info.plist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
<key>CFBundlePackageType</key>
1616
<string>APPL</string>
1717
<key>CFBundleShortVersionString</key>
18-
<string>3.0.6</string>
18+
<string>3.0.7</string>
1919
<key>CFBundleSignature</key>
2020
<string>????</string>
2121
<key>CFBundleVersion</key>

TZImagePickerController/TZImagePickerController/TZAssetCell.m

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -375,10 +375,9 @@ - (void)setModel:(TZAlbumModel *)model {
375375
}
376376
}
377377

378-
/// For fitting iOS6
379378
- (void)layoutSubviews {
380379
[super layoutSubviews];
381-
_selectedCountButton.frame = CGRectMake(self.tz_width - 24 - 30, 23, 24, 24);
380+
_selectedCountButton.frame = CGRectMake(self.contentView.tz_width - 24, 23, 24, 24);
382381
NSInteger titleHeight = ceil(self.titleLabel.font.lineHeight);
383382
self.titleLabel.frame = CGRectMake(80, (self.tz_height - titleHeight) / 2, self.tz_width - 80 - 50, titleHeight);
384383
self.posterImageView.frame = CGRectMake(0, 0, 70, 70);

TZImagePickerController/TZImagePickerController/TZImagePickerController.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
//
55
// Created by 谭真 on 15/12/24.
66
// Copyright © 2015年 谭真. All rights reserved.
7-
// version 3.0.6 - 2018.09.10
7+
// version 3.0.7 - 2018.09.13
88
// 更多信息,请前往项目的github地址:https://github.com/banchichen/TZImagePickerController
99

1010
/*

TZImagePickerController/TZImagePickerController/TZImagePickerController.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
//
55
// Created by 谭真 on 15/12/24.
66
// Copyright © 2015年 谭真. All rights reserved.
7-
// version 3.0.6 - 2018.09.10
7+
// version 3.0.7 - 2018.09.13
88
// 更多信息,请前往项目的github地址:https://github.com/banchichen/TZImagePickerController
99

1010
#import "TZImagePickerController.h"

TZImagePickerControllerFramework/Info.plist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
<key>CFBundlePackageType</key>
1616
<string>FMWK</string>
1717
<key>CFBundleShortVersionString</key>
18-
<string>3.0.6</string>
18+
<string>3.0.7</string>
1919
<key>CFBundleVersion</key>
2020
<string>$(CURRENT_PROJECT_VERSION)</string>
2121
<key>NSPrincipalClass</key>

0 commit comments

Comments
 (0)