ios - How to compare my current location Lat and Log with a radius of 3 miles ? Xcode -
i have user's current location in form of lat , lon in view controller , i'm missing comparing user location file or gpx of location want compare , idea when user drives or place example college app said "welcome blag bla college ...
thanks . i'm using xcode , swift .
create cllocation object user's location, , 1 second location. use cllocation method distancefromlocation:
calculate distance.
Comments
Post a Comment