Philip1895
Philip1895

Reputation: 81

Open URL on Ios in Safari?

I'm using C++ Builder for Application programming. I want to know how to open an URL on an Ios Device in Safari ( simply on an button click ) . Would be nice if anyone has an answer to that.

Upvotes: 0

Views: 315

Answers (1)

Rajnish
Rajnish

Reputation: 429

You could do

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

For further details Check UIApplication Class Reference

Upvotes: 2

Related Questions