self.upManager = [QNUploadManager sharedInstanceWithConfiguration:nil];
NSString *imgPath = [[NSBundle mainBundle] pathForResource:@"Rabbit" ofType:@"png"];
[self.upManager putFile:imgPath key:@"0000000" token:token complete:^(QNResponseInfo *info, NSString *key, NSDictionary *resp) {
NSLog(@"info : %@",info);
NSLog(@"key : %@",key);
NSLog(@"resp : %@",resp);
} option:nil];
容我再推销一下自己写的库吧。。(逃
https://github.com/huhuanming/qiniu_upload