Hi i am working on an ios app. I want to get the current location of the device using GPS. How can i get latitude and longitude of a place,and from them how can i determine current city name. I came across example from following http://www.appcoda.com/how-to-get-current-location-iphone-user/ but when i pressed the button nothing happened.I am using IOS simulator and i have changed the Debug --> Location --> to Apple.
I am developing for ios 8.0