how to show current location on MKMapView

后端 未结 3 845
眼角桃花
眼角桃花 2021-02-13 21:47

I am using MKMapView on my application. i need to show current location on simulator.
is it possible. to show current location on simulator.

3条回答
  •  礼貌的吻别
    2021-02-13 22:10

    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 or change simulator setting -

    from the simulator's menu choose Debug > Location > Custom Location....

提交回复
热议问题