// 1. 创建webView,并自适应屏幕大小
UIWebView *homeWebView = [[UIWebView alloc] initWithFrame:self.view.bounds];
// 根据屏幕大小自动调整页面尺寸
homeWebView.scalesPageToFit = YES;
// 1. 创建webView,并自适应屏幕大小
UIWebView *homeWebView = [[UIWebView alloc] initWithFrame:self.view.bounds];
// 根据屏幕大小自动调整页面尺寸
homeWebView.scalesPageToFit = YES;