Hello friends,
I have Text(http://www.mywebsite.com) in a view, in which i need to provide URL link, so that clicking on that one will take user to the browser.
How do i achieve it? Please provide your suggestions.
Thank you very much.
Hello friends,
I have Text(http://www.mywebsite.com) in a view, in which i need to provide URL link, so that clicking on that one will take user to the browser.
How do i achieve it? Please provide your suggestions.
Thank you very much.
If you have your text as a UIButton add the following code to the touch-up-inside action:
[[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"http://www.stackoverflow.com/"]];