I’m trying to get the temp and weather data for my app based on the latitude and longitude location…
How can I get this to work?
NSURL *jsonurl = [NSURL URLWithString:@"http://www.myweather2.com/developer/forecast.ashx?uac=(API-KEY)&output=json&query=",placemark.location,@"&temp_unit=f"];
This assumes that the value for
placemark.locationis an NSString that only contains valid URL characters.