NSString *path = [[NSBundle mainBundle] pathForResource:@"avoutCN" ofType:@"html"];
NSURL *url = [NSURL fileURLWithPath:path];
NSURLRequest *request = [NSURLRequest requestWithURL:url];
UIWebView *webView=[[UIWebView alloc] initWithFrame:CGRectMake(0, 0, 320, 416+(isIPhone5?88:0))];
webView.backgroundColor=[UIColor whiteColor];
[webView loadRequest:request];
webView.scrollView.showsVerticalScrollIndicator=NO;
[webView setBackgroundColor:[UIColor clearColor]];
[webView setOpaque:NO];
for (UIView *subView in [webView subviews]) {
if ([subView isKindOfClass:[UIScrollView class]]) {
for (UIView *shadowView in [subView subviews]) {
if ([shadowView isKindOfClass:[UIImageView class]]) {
shadowView.hidden = YES;
}
}
}
}
[self.view addSubview:webView];
[webView release];