File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed
Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 11#Changelog
22
3- ## 7.0.13 (2015-10-20 )
3+ ## 7.0.13 (2015-10-28 )
44
55### 增加
66* 支持 https
77* 禁止0字节文件上传
88* ua加入idfv 便于网络诊断
9+ * 支持PHAsset
910
1011### 修正
1112* QNHttpDelegate.h 头文件名大小写修正
Original file line number Diff line number Diff line change 1010
1111#if (defined(__IPHONE_OS_VERSION_MAX_ALLOWED) && __IPHONE_OS_VERSION_MAX_ALLOWED >= 80000)
1212#import < Photos/Photos.h>
13-
13+ # import < AVFoundation/AVFoundation.h >
1414enum {
1515 kAMASSETMETADATA_PENDINGREADS = 1 ,
1616 kAMASSETMETADATA_ALLFINISHED = 0
@@ -159,7 +159,7 @@ - (NSData *)fetchDataFromAsset:(PHAsset *)asset
159159 [[PHImageManager defaultManager ] requestAVAssetForVideo: asset
160160 options: request
161161 resultHandler:
162- ^(AVAsset * _Nullable asset, AVAudioMix * _Nullable audioMix, NSDictionary * _Nullable info) {
162+ ^(AVAsset* asset, AVAudioMix* audioMix, NSDictionary * info) {
163163 AVURLAsset *urlAsset = (AVURLAsset *)asset;
164164 NSData *videoData = [NSData dataWithContentsOfURL: urlAsset.URL];
165165 tmpData = [NSData dataWithData: videoData];
You can’t perform that action at this time.
0 commit comments