7
黑屏我有iOS中8的MKMapView显示的iOS 8
显示的MKMapView的问题,它在iOS的7运行良好,现在是工作的罚款,但只能在模拟器。
在设备上它只显示注释,但没有显示地图。
它看起来像这样:http://imgur.com/rBVWTeD
,我得到的错误:
2014-09-24 22:07:15.349 xxx[1509:265380] Stylesheet does not include style matching tree, or includes an old version. Perhaps it was compiled by an old version of the style compiler.
2014-09-24 22:07:15.351 xxx[1509:265380] Please create a radar about this! (Check it's not a dup of rdar://16346611 first though)
2014-09-24 22:07:15.351 xxx[1509:265380] Active tile set: GEOActiveTileSet
我的代码:
CLLocationCoordinate2D coord = CLLocationCoordinate2DMake(21.779998, 59.447816);
MKCoordinateSpan span = MKCoordinateSpanMake(0.007, 0.007);
MKCoordinateRegion region = {coord, span};
MKPointAnnotation *annotation = [[MKPointAnnotation alloc] init];
[annotation setCoordinate:coord];
[annotation setTitle:@"yyy"];
[self.cell.myMapView setRegion:region];
[self.cell.myMapView addAnnotation:annotation];
[self.cell.myMapView setDelegate:self];
提前感谢!
我的体验完全一样。在ios7中工作正常,在模拟器中仍然很好,但在ios8上崩溃。您是否向苹果公司提交了错误报告? – nanako 2014-10-03 01:49:57
我也面对相同的..你有一些解决方案吗? – 2014-10-03 06:35:20
我在Yosemite上使用MapKit得到了这个错误消息。我感觉这并不重要。 – 2014-10-22 21:04:03