在使用七牛对象存储 iOS objective-c sdk时使用断点续传
1.使用以下代码初始化 QNUploadManager
QNFileRecorder *file = [QNFileRecorder fileRecorderWithFolder:[NSTemporaryDirectory() stringByAppendingString:@"qnFileRecorder"]
error:&error];
if (error == nil)
{
_qnUploadTaskManager = [[QNUploadManager alloc] initWithRecorder:file];
}
2.在后面进行上传后会提示以下错误
up record set error mohoApp/class/d5e3bcd08a7448d9856818ac00e322a4_NJ5BCT_1497338027000_video.mp4 Error Domain=NSCocoaErrorDomain Code=4 "文件夹“d5e3bcd08a7448d9856818ac00e322a4_NJ5BCT_1497338027000_video.mp4”不存在。" UserInfo={NSFilePath=/Users/darsky/Library/Developer/CoreSimulator/Devices/7AF65925-8B7C-462A-B055-24A889ACD874/data/Containers/Data/Application/3BAFD5A8-9995-427A-BEF2-F76B6F982970/tmp/QNFileRecorder/mohoApp/class/d5e3bcd08a7448d9856818ac00e322a4_NJ5BCT_1497338027000_video.mp4, NSUserStringVariant=Folder, NSUnderlyingError=0x608000054910 {Error Domain=NSPOSIXErrorDomain Code=2 "No such file or directory"}}
3.是否存在缺失的步骤?