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