Posts Tagged OpenLink

Open A Link in Safari from Your iPhone Application

A very basic functionality you can add in your application. this post is all about how can you push a link on the Safari from your application.

Implementation is pretty simple. You have to use openURL and bang you are done with it. Here is the example :-

-(IBAction)pushToSafari

{

[[UIApplication sharedApplication] openURL:[NSURL URLWithString: @"http://www.google.co.uk"]];

}

Hope it helps.

Advertisements

, , ,

Leave a comment