NSString *linkString = [NSString stringWithString:@"<a href=\"http://apple.com\">Apple</a>"];
NSString *connnectString = [[NSString alloc] initWithFormat:@"this string is %@",linkString];
UILabel *stringLabel = [[UILabel alloc] initWithFrame:CGRectMake(20, 120, 200, 20)];
[stringLabel setText:connnectString];
[self.view addSubview:stringLabel];
UIWebView *webView = [[UIWebView alloc] initWithFrame:CGRectMake(20, 150, 200, 200)];
[webView loadHTMLString:connnectString baseURL:nil];
[webView setScalesPageToFit:YES];
// [webView setDetectsPhoneNumbers:YES];//识别地区号码
[self.view addSubview:webView];
[webView release];
[stringLabel release];
[connnectString release];