Advertisements
RSS

Tag Archives: App

[XCode] Launch Google maps app


This code is to launch Google maps from an iPhone app and passing a longitude and latitude values:



NSString *googleMapsURLString = [NSString stringWithFormat:@"http://maps.google.com/maps?q=%1.6f,%1.6f",56.152227,-9.162045];
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:googleMapsURLString]];

Advertisements
 
Leave a comment

Posted by on June 3, 2012 in Programming

 

Tags: , , , , , , , ,

 
%d bloggers like this: