誰でもこの問題で私を助けることができますか? 試してみましたが、webview のフレームが適切ではありません。アプリの冒頭でアラートを使用条件として使用したいので、テキストが大きくなるため、文字列を使用する代わりに webview を使用したいのですメッセージと使用しているテキストは英語ではなく、アラビア語なので、通常の文字列を使用すると見栄えがよくありません
誰でも私を助けてください....これはそれがどのように見えるかです:
UIAlertView* alert = [[UIAlertView alloc] initWithTitle:NSLocalizedString(@"Terms and Condition", @"Terms and Condition") message:terms delegate:self cancelButtonTitle:NSLocalizedString(@"Accept", @"Accept") otherButtonTitles:NSLocalizedString(@"Cancel",@"Cancel"), nil];
[alert setFrame:CGRectMake(alert.frame.origin.x,alert.frame.origin.y, alert.frame.size.width, 150)];
UIWebView *webView = [[UIWebView alloc] init];
[webView setFrame:CGRectMake(12,45,260,100)];
[webView loadRequest:[NSURLRequest requestWithURL:[NSURL URLWithString:@"http://www.google.com"]]];
[alert addSubview:webView];
[alert show];