简体   繁体   English

MKMapview在模拟器中的iOS-7.0中不显示地图

[英]MKMapview don't show map in iOS-7.0 in simulator

I am using MKMapView in my application. 我在我的应用程序中使用MKMapView。 i need to show current location on Map. 我需要在地图上显示当前位置。 When i am showing it on iOS 6.0 or 6.1, it is working fine. 当我在iOS 6.0或6.1上显示它时,它工作正常。
On iOS 7.0, Map is not appearing properly. 在iOS 7.0上,地图无法正确显示。

have a look of map in iOS 7.0 - 看看iOS 7.0中的地图-

在此处输入图片说明


Can anyone suggest why map's background is not appearing here, is there any extra approach form iOS 6.0, we will have to perform to show map in simulator in iOS-7.0 ? 有人可以建议为什么地图的背景没有出现在这里吗,iOS 6.0是否有其他方法,我们将不得不执行以在iOS-7.0的模拟器中显示地图?

Simulator will not show user current location no matter whether it is iOS 6, 6.1 or iOS 7. To simulate location you can see here . 无论是iOS 6、6.1还是iOS 7,模拟器都不会显示用户当前位置。要模拟位置,您可以在此处查看 If you want to show user current location then run your app in device 如果要显示用户当前位置,请在设备中运行您的应用

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM