我有一个 UIwebview,我想去 Amazon.com,当我加载 amazon.com 时,它的格式与我从 iphone safari 去那里的格式不同。是什么告诉亚马逊这样的网站为 iphone 重绘?这是我的代码:
- (void)viewDidLoad {
NSString *urlAddress = @"http://www.amazon.com/Inventive-Gadgets-Inc-PQFan-Professionally/dp/B000V8ASR6";
//Create a URL object.
NSURL *url = [NSURL URLWithString:urlAddress];
//URL Requst Object
NSURLRequest *requestObj = [NSURLRequest requestWithURL:url];
//Load the request in the UIWebView.
[webView loadRequest:requestObj];
}
- (IBAction) gotofourth{
[self dismissModalViewControllerAnimated:YES];
}
任何帮助都会很棒。
谢谢