How can i just make the goClick show only the results and not change the baseurl of all the links in the results.
I only need to execute this part of the code.
Every time i play with it, it debugs out. Much help is appriciated.
I only need to execute this part of the code.
Code:
[SearchView getsearch: textField.text];
Code:
- (IBAction)goClick {
NSString* searchXml = [SearchView getsearch: textField.text];
NSData* htmlData = [searchXml dataUsingEncoding:NSUTF8StringEncoding];
[webView loadData:htmlData MIMEType:@"text/html" textEncodingName:@"UTF-8" baseURL:[NSURL URLWithString:@"http://www.mywebsite.com/about.html"]];
}