Launch Safari from iPhone App

Posted by tarnfeld on Stack Overflow See other posts from Stack Overflow or by tarnfeld
Published on 2010-02-10T16:16:54Z Indexed on 2010/03/24 14:23 UTC
Read the original article Hit count: 363

Filed under:
|
|

I know that i can use the following code to launch my own url, but i want the user to continue their workflow after using my bookmarklet so therefore don't want to open a new tab and have them re-load the url i put into the url variable?

NSURL url* = [NSURL URLWithString:@"http://google.com"];
[[UIApplication sharedApplication] openUrl:""];

Can this be done?

© Stack Overflow or respective owner

Related posts about objective-c

Related posts about iphone