I have one simple question. I have an NSString called locale the I need it to be set as "Current Location" so that when i pass the following to Google Maps determines the user's location and destination. I just keep getting errors on the 2nd line so obviously I'm setting it wrong. Does anyone see what I should do instead for line 2.
NSString *locale;
[locale setText:@"Current Location"];
[addressid.text stringByAddingPercentEscapesUsingEncoding:NSUTF8StringEncoding],
[csz.text stringByAddingPercentEscapesUsingEncoding:NSUTF8StringEncoding],
[locale stringByAddingPercentEscapesUsingEncoding:NSUTF8StringEncoding]
];
NSURL *googleMapsURL = [NSURL URLWithString:finalURL];
[[UIApplication sharedApplication] openURL:googleMapsURL];
----------------
William Frowine, PMP