Skip to content

Commit 4e6c401

Browse files
committed
fixed ios compile
1 parent 04ae704 commit 4e6c401

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

QiniuSDK/Storage/QNUploadManager.m

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,13 @@
88

99
#import <Foundation/Foundation.h>
1010

11+
#if __IPHONE_OS_VERSION_MIN_REQUIRED
12+
#import <MobileCoreServices/MobileCoreServices.h>
13+
#import <UIKit/UIKit.h>
14+
#else
15+
#import <CoreServices/CoreServices.h>
16+
#endif
17+
1118
#import "QNConfig.h"
1219
#import "QNHttpManager.h"
1320
#import "QNSessionManager.h"

0 commit comments

Comments
 (0)