2
votes

i am developing iPad5 application. In my application i want to show hyperlink and onclick that link should open in safari.

I searched. but i didn't get appropriate solution for this. please help me.

thanks in advance. for alert i am using: UIAlertView *alert = [[UIAlertView alloc] initWithTitle:@"confirmation" message:@"some string and hyperlink here" delegate:nil cancelButtonTitle:@"OK" otherButtonTitles:nil]; [alert show];

1
please see this question. stackoverflow.com/questions/5949927/… adding a hyperlink to a UIAlertView is strongly discourageddizzytri99er

1 Answers

1
votes

for this you can add button as subview in alert and make it as hyperlink(custom button with blue text color) and on click on it you can open that link in safari.

thanks