Hi!
This code open a url in safari on click:
[[UIApplication sharedApplication] openURL:[NSURL URLWithString
"http://www.apple.com"]];
But I don't know where the code should be. I tried to put in in ViewController.m below the viewDidUnload. But I can't get the button to work.
I'm new with XCode, so hope someone can help me.
Sorry for my english.
This code open a url in safari on click:
[[UIApplication sharedApplication] openURL:[NSURL URLWithString
But I don't know where the code should be. I tried to put in in ViewController.m below the viewDidUnload. But I can't get the button to work.
I'm new with XCode, so hope someone can help me.
Sorry for my english.
Last edited: