July 30, 2009

Launch Browser From Within An App

Thanks to iPhone Developer Tips, I now know how to launch the browser from within an iPhone app:
NSURL *url = [NSURL URLWithString:
@"http://www.iphonedevelopertips.com"];
[[UIApplication sharedApplication] openURL:url];

No comments:

Post a Comment