所以我正在尝试下载一个包“catalonia”供离线使用,如下所示:
- (void) syncSkobblerMapsForTrip:(Trip *)trip withProgressView:(UIProgressView *) progressView{
AppDelegate *appDelegate = (AppDelegate*)[UIApplication sharedApplication].delegate;
SKTPackage *cataloniaPackage = [appDelegate.skMapsObject packageForCode:@"ESREG10"];
SKTDownloadObjectHelper *region = [SKTDownloadObjectHelper downloadObjectHelperWithSKTPackage:cataloniaPackage];
[[SKTDownloadManager sharedInstance] requestDownloads:@[region] startAutomatically:YES withDelegate:self withDataSource:self];
}
我在控制台中收到以下错误:
2015-01-27 17:26:42.621 Tripcipe [48381:1070885] propertyName downloadType的属性类型无效。跳过
2015-01-27 17:26:42.622 Tripcipe [48381:1070885] propertyName bSkmDownloaded的属性类型无效。跳过
2015-01-27 17:26:42.622 Tripcipe [48381:1070885] propertyName bNBDownloaded的属性类型无效。跳过
2015-01-27 17:26:42.622 Tripcipe [48381:1070885] propertyName bTexturesDownloaded的属性类型无效。跳过
2015-01-27 17:26:42.622 Tripcipe [48381:1070885] propertyName bNBUnzipped的属性类型无效。跳过
当我尝试在框架演示中下载相同的包时,它似乎工作正常。任何帮助将不胜感激。