How to load a UIWebView with a close button on top?
问题 I currently have the following code that loads a UIWebView from another View. Now is there anyway I can have a close button? - (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath { UIWebView *webView=[[UIWebView alloc] initWithFrame:CGRectMake(0,0,320,480)]; [self.view addSubview:webView]; NSURLRequest *urlRequest; NSURL *urlforWebView; urlforWebView=[NSURL URLWithString:@"http://www.google.com"]; urlRequest=[NSURLRequest requestWithURL:urlforWebView];