How to show blue pin with dot (circle) in MKMapView in IPhone

后端 未结 4 2240
礼貌的吻别
礼貌的吻别 2020-12-31 21:04

my question may seem a bit complicated but let me clarify. i am using mkmapview , in this i want to show current user location with blue dot and circle , but this isn\'t rea

4条回答
  •  旧时难觅i
    2020-12-31 22:01

    Answer of @Ohmy is correct but in my program the case was different :

    From iOS10 you need to add NSLocationWhenInUseUsageDescription or NSLocationAlwaysUsageDescription key in your app Info.plist based on your requirement.

提交回复
热议问题