iOS MKMapShapshotter completion block is not always being called

前端 未结 4 1123
有刺的猬
有刺的猬 2020-12-20 13:53

I am trying to use the new iOS7 MKMapSnapshotter to generate a static map image. Whenever my app needs a map, I call the following:

MKMapSnapshotter *snapsho         


        
4条回答
  •  轻奢々
    轻奢々 (楼主)
    2020-12-20 14:38

    Had the same issue in different iOS versions. The point was that the AppleMaps app did not load the maps properly also. Restarting the device hard got it to work. So I suppose it is an Apple bug.

提交回复
热议问题