基本的にWebページをロードするアプリ(iPhoneとiPadのユニバーサル)を実現しています。iPhone の WebView は正しく読み込まれていますが、iPad の WebView は何もしていません?!
ここに私のViewController.mがあります
#import "ViewController.h"
@interface ViewController ()
@property (weak, nonatomic) IBOutlet UIWebView *webView;
@property (weak, nonatomic) IBOutlet UIWebView *webViewiPad;
@end
@implementation ViewController
@synthesize webView = _webView;
@synthesize webViewiPad = _webViewiPad;
- (void)viewDidLoad
{
[super viewDidLoad];
// Do any additional setup after loading the view, typically from a nib.
[self.webView loadRequest:[NSURLRequest requestWithURL:[NSURL URLWithString:@"http://www.google.at"]]];
[self.webViewiPad loadRequest:[NSURLRequest requestWithURL:[NSURL URLWithString:@"http://www.google.at"]]];
}