MKMapview don't show map in iOS-7.0 in simulator

筅森魡賤 提交于 2019-12-25 02:13:47

问题


I am using MKMapView in my application. i need to show current location on Map. When i am showing it on iOS 6.0 or 6.1, it is working fine.
On iOS 7.0, Map is not appearing properly.

have a look of map in 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 ?


回答1:


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. If you want to show user current location then run your app in device



来源:https://stackoverflow.com/questions/20118252/mkmapview-dont-show-map-in-ios-7-0-in-simulator

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!