Hello.
I'm trying to get weather for an app of mine.
I successfully got the weather from Google, but now I want it to get
it from current location. (Instead of typing the Zip Code)
So I've tried to get my current location and I've been somewhat successful.
But I can't seem to get the city's name.
I've tried this tutorial: http://stackoverflow.com/questions/1382900/how-to-retrive-users-current-city-name
But sadly MKReverseGeocoder is not supported by iOS 5.
I tried replacing with CLLocation, but initWithCoordinates can't be used with it.
So what I'm asking is for help with getting MKReverseGeocoder to work by replacing it and (if possible) help with getting my current location.
Thanks!
I'm trying to get weather for an app of mine.
I successfully got the weather from Google, but now I want it to get
it from current location. (Instead of typing the Zip Code)
So I've tried to get my current location and I've been somewhat successful.
But I can't seem to get the city's name.
I've tried this tutorial: http://stackoverflow.com/questions/1382900/how-to-retrive-users-current-city-name
But sadly MKReverseGeocoder is not supported by iOS 5.
I tried replacing with CLLocation, but initWithCoordinates can't be used with it.
So what I'm asking is for help with getting MKReverseGeocoder to work by replacing it and (if possible) help with getting my current location.
Thanks!