We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8cc8ed3 commit c0d6c79Copy full SHA for c0d6c79
QiniuDemo/QiniuDemo/ViewController.m
@@ -43,7 +43,10 @@ - (IBAction)uploadAction:(id)sender {
43
44
- (void)uploadImageToQNFilePath:(NSString *)filePath {
45
self.token = @"你的token";
46
- QNUploadManager *upManager = [[QNUploadManager alloc] init];
+ QNConfiguration *configuration = [QNConfiguration build:^(QNConfigurationBuilder *builder) {
47
+ builder.useConcurrentResumeUpload = true;
48
+ }];
49
+ QNUploadManager *upManager = [[QNUploadManager alloc] initWithConfiguration:configuration];
50
51
__weak typeof(self) weakSelf = self;
52
QNUploadOption *uploadOption = [[QNUploadOption alloc] initWithMime:nil progressHandler:^(NSString *key, float percent) {
0 commit comments