こんにちは、Web リンクが添付されたアラート ビューを実装したいと考えています。
出来ますか?アラート ビューのボタンのように表示されるべきではありません。
テキストビューを UIAlertView に追加し、これでプロパティを有効にします
textview.dataDetectorTypes=UIDataDetectorTypeLink;
それが動作します!!
UIAlertView *_alert = [[UIAlertView alloc] initWithTitle:@"Search Google?" 
                                                 message:@"Launch Google and search for something?" 
                                                delegate:self 
                                       cancelButtonTitle:@"Nah" 
                                       otherButtonTitles:@"Google It!",nil];
[_alert show];
-(void)alertView:(UIAlertView *)alertView clickedButtonAtIndex:(NSInteger)buttonIndex 
{
    if( buttonIndex == 1 ) /* NO = 0, YES = 1 */
    {
        [[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"http://google.com"]];
    }
}
採用してinitWithTitle:message:delegate:cancelButtonTitle:otherButtonTitles:ください。otherButtonTitlesリンクのタイトルを、雇用者として追加できます
 - (void)alertView:(UIAlertView *)alertView didDismissWithButtonIndex:(NSInteger)buttonIndex{}
リンク ボタンがクリックされたときに、Web ページに移動するなどのアクションを起動します。