-5

Need to launch safari from ipad application.

Sorter
  • 9,704
  • 6
  • 64
  • 74

2 Answers2

6
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"http://www.apple.com"]];
Nimantha
  • 6,405
  • 6
  • 28
  • 69
iProgrammed
  • 980
  • 2
  • 10
  • 29
1
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"http://www.google.com"]];
Nimantha
  • 6,405
  • 6
  • 28
  • 69
Aman Aggarwal
  • 3,754
  • 1
  • 19
  • 26