How to get the user's current location by code in iphone app?

前端 未结 4 1150
北荒
北荒 2021-01-07 10:17

I want to get the user\'s current location from my iPhone app. I want to show the user\'s current location like country name, latitude, longitude information in my app. And

4条回答
  •  轻奢々
    轻奢々 (楼主)
    2021-01-07 10:49

    Yes you can use CLGeoCoder. But CLGeaCoder will not provide accrurate location inforamtion outside of USA for other country like India etc. So better to use Google's Reverse Geo coding SVGeoCoder. SVGeoCoder have nice implementation to get location with goolePlaceAPI.

提交回复
热议问题