I am creating a map in which I am tracking the user's current location. When the current location of the user is traced their a pin is开发者_如何学C placed. Depending on this I get the latitude and longitude of current location.
I have an SQLite database which stores the latitude, longitude of the user. But my main problem is how to insert the coordinates of latitude and longitude in SQLite database. How can I do this?
I think these links are useful to you.
Saving mapView.userLocation.location.coordinate.longitude into sqlite database
making map coordinates(lan,& long)storing in sqlite database
精彩评论