1

UIwebviewcontroller にリンクを表示したいと思います。私はこの解決策を検索して見つけました:

NSString *html = [NSString stringWithFormat:@"%@%@%@",@"<html><head></head><body><a style=\"font-family:Verdana, Geneva, sans-serif; font-size: 12px;\" href=\"", item.link, @"\">For more informations</a></body></html>"];
[webView loadHTMLString:html baseURL:nil];
[self.view addSubview:webView];

このソリューションはすべての IOS で機能しますが、Retina 4 インチの iPhone では機能しません。何か間違ったことをしたのか、それとも iPhone シミュレーターのバグなのか教えていただけますか。

ありがとう

4

1 に答える 1