I am creating a webview and loading content using "loadHTMLString" The content is loading I just can t get the links to work ex linking to google.com. Any help would be great.
UIWebView* newWeb = [[UIWebView alloc initWithFrame:CGRectMake(notificationPopUp.frame.origin.x+ 20,notificationPopUp.frame.origin.y-100,100, 100)];
//newWeb.backgroundColor = [UIColor clearColor];
newWeb.alpha = 0.7;
newWeb.opaque= NO;
newWeb.delegate= self;
NSString *html = [NSString stringWithFormat:@"<html><head><title></title><style type="text/css">a{text-decoration:none}</style></head><body><FONT COLOR="#484848"><p>Hello this is a <a href="http://www.google.com">Test</a></p></FONT></body></html>"];
[newWeb loadHTMLString:html baseURL:[NSURL URLWithString:@""]];
newWeb.userInteractionEnabled= TRUE;
[notificationPopUp addSubview:newWeb];