iOS 上传gif图片

QNUploadManager *upManager = [[QNUploadManager alloc] init];

QNUploadOption *opt = [[QNUploadOption alloc] initWithMime:@"image/gif" progressHandler:nil params:@{  } checkCrc:YES cancellationSignal:nil];
NSString *imgString = [Base64Helper image2String:img];
NSData *data;

data = [NSData dataWithBase64EncodedString:imgString];

[upManager putData:data key:@"bbb" token:token
          complete: ^(QNResponseInfo *info, NSString *key, NSDictionary *resp) {
              NSLog(@"%@", info);
              NSLog(@"%@", resp);
          } option:opt];
          
          上面是代码,上传完的图片都默认是jpeg格式的。请问下我想上传gif格式的图片需要什么样的设置吗?
查看回复