누구든지이 문제를 해결할 수 있습니까? 나는 그것을 시도했지만 webview의 프레임은 좋은 피팅되지 않습니다 나는 내 애플 리케이션의 시작 부분에 경고로 사용하고 싶습니다 그래서 텍스트는 더 커질 것입니다 왜 내가 string을 사용하는 대신 webview를 사용하고 싶습니다 일반 문자열UIAlertView에서 메시지 안에 UIWebView를 사용하는 방법은 무엇입니까?
을 사용하는 경우 메시지 텍스트로 사용하고는 아랍어 그게 왜 좋은 찾고되지는 영어가 아닌사람이 그것을 보는 방법입니다 .... 나를 도울 수하십시오
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];
고맙지 만 작동하지 않으면 정상적인 NSString을 사용합니다. –