小编Pet*_*rek的帖子

MKMapView在iOS 8中显示空白屏幕

我在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
Run Code Online (Sandbox Code Playgroud)

我的代码:

    CLLocationCoordinate2D coord = CLLocationCoordinate2DMake(21.779998, 59.447816);

    MKCoordinateSpan span = MKCoordinateSpanMake(0.007, 0.007);
    MKCoordinateRegion region = {coord, span};

    MKPointAnnotation *annotation …
Run Code Online (Sandbox Code Playgroud)

xcode mkmapview ios xcode6 ios8

7
推荐指数
1
解决办法
2109
查看次数

标签 统计

ios ×1

ios8 ×1

mkmapview ×1

xcode ×1

xcode6 ×1