OC语言
调用这个方法
[upManager putData:data key:strMp3 token:self.qiNiuTokenStr
complete: ^(QNResponseInfo *info, NSString *key, NSDictionary *resp) {
NSLog(@"%@", info);
NSLog(@"%@", resp);
} option:nil];
获得了这个值
2016-08-22 10:45:48.351 FanHeIOS2.0[22106:3864544] {
hash = Fj3F3KQUY6fDTKj1DDmytuzrKu7M;
key = "/Users/renhao/Library/Developer/CoreSimulator/Devices/ABBDC6C2-F398-40DE-BC7E-158F61075E2F/data/Containers/Data/Applicat ... cord.mp3";
}
我现在做到这一步,在调用这个方法吗
[upManager putFile:resp[@"key"] key:resp[@"key"] token:self.qiNiuTokenStr complete:^(QNResponseInfo *info, NSString *key, NSDictionary *resp) {
NSLog(@"info ===== %@", info);
NSLog(@"resp ===== %@", resp);
} option:uploadOption];
} option:nil];
调用这个方法报错
2016-08-22 10:45:55.683 FanHeIOS2.0[22106:3864544] info =====
2016-08-22 10:45:59.771 FanHeIOS2.0[22106:3864544] resp ===== (null)
这是为神马
Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号