http://blog.csdn.net/workhardupc100/article/details/7443580
UIWebView *webView = [[[UIWebView alloc] initWithFrame:CGRectMake(0, 0, 320, 480)] autorelease];
NSString *htmlPath = [[[NSBundle mainBundle] bundlePath]stringByAppendingPathComponent:@"Quartz2D.html"];
htmlPath = [htmlPath stringByAddingPercentEscapesUsingEncoding:NSUTF8StringEncoding];
[webView loadRequest:[NSURLRequest requestWithURL:[NSURL URLWithString:htmlPath]]];
[self.view addSubview:webView];