I am trying to launch a map from within my app, and I am using the following:
- (void) showMap:(id) button {
    UIApplication *application = [UIApplication sharedApplication];
    NSString *address = [((PhoneButton *) button).cell.client fullAddress];
    NSString *addressUrl = [NSString stringWithFormat: @"http://maps.apple.com/?q=%@", address];
    NSLog(@"Maps String: %@", addressUrl);
    NSURL *map_url = [NSURL URLWithString:addressUrl];
    [application openURL:map_url];
};
Well, it is not working. I tried to find the issue but looks like I am doing it right. So, what am I missing?
PS: My address format is like "800, Madison Ave, New York, NY"
 
     
    