これをviewDidLoadで書いていますが、
// Programmatically creating uiwebview.
UIWebView *webVPrg = [[UIWebView alloc] initWithFrame:self.view.frame];
NSURL *url = [NSURL URLWithString:@"http://www.google.com"];
NSMutableURLRequest *urlReq = [[NSMutableURLRequest alloc] initWithURL:url];
[self.view addSubview:webVPrg];
[webVPrg loadRequest:urlReq];
ここで作成された Web ビューは、縦向きと横向きに正しく配置されませんが、Web ビューがInterface Builderで作成された場合は正常に機能します。
( initWithFrame:self.view.frameに何か問題があるかどうかはわかりません)
何が問題なのですか?