File tree Expand file tree Collapse file tree 5 files changed +9
-5
lines changed Expand file tree Collapse file tree 5 files changed +9
-5
lines changed Original file line number Diff line number Diff line change
1
+ 3.0
Original file line number Diff line number Diff line change 1
1
#Changelog
2
2
3
+ ## 7.1.4 (2016-11-07)
4
+ ## 修改
5
+ * PHAssetResourceRequestOptions 参数类型
6
+
3
7
## 7.1.3 (2016-11-07)
4
8
## 增加
5
9
* 增加zoneNa0 北美
Original file line number Diff line number Diff line change 1
1
Pod ::Spec . new do |s |
2
2
s . name = 'Qiniu'
3
- s . version = '7.1.2 '
3
+ s . version = '7.1.4 '
4
4
s . summary = 'Qiniu Resource Storage SDK for iOS and Mac'
5
5
s . homepage = 'https://github.com/qiniu/objc-sdk'
6
6
s . social_media_url = 'http://weibo.com/qiniutek'
Original file line number Diff line number Diff line change @@ -144,11 +144,10 @@ - (NSString *)getInfo {
144
144
if (resource.originalFilename ) {
145
145
fileName = resource.originalFilename ;
146
146
}
147
- PHVideoRequestOptions *options = [[PHVideoRequestOptions alloc ] init ];
148
- options.version = PHImageRequestOptionsVersionCurrent;
147
+ PHAssetResourceRequestOptions *options = [PHAssetResourceRequestOptions new ];
149
148
// 不支持icloud上传
150
149
options.networkAccessAllowed = NO ;
151
- options. deliveryMode = PHVideoRequestOptionsDeliveryModeAutomatic;
150
+
152
151
NSString *PATH_VIDEO_FILE = [NSTemporaryDirectory () stringByAppendingPathComponent: fileName];
153
152
[[NSFileManager defaultManager ] removeItemAtPath: PATH_VIDEO_FILE error: nil ];
154
153
[[PHAssetResourceManager defaultManager ] writeDataForAssetResource: resource toFile: [NSURL fileURLWithPath: PATH_VIDEO_FILE] options: options completionHandler: ^(NSError *_Nullable error) {
Original file line number Diff line number Diff line change 11
11
/* *
12
12
* sdk 版本
13
13
*/
14
- static const NSString *kQiniuVersion = @" 7.1.3 " ;
14
+ static const NSString *kQiniuVersion = @" 7.1.4 " ;
You can’t perform that action at this time.
0 commit comments