2

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];

4

1 に答える 1

1

このために、ボタンをアラートのサブビューとして追加し、ハイパーリンク(青いテキスト色のカスタムボタン)として作成し、クリックするとサファリでそのリンクを開くことができます。

ありがとう

于 2012-11-29T11:44:55.397 に答える