How to go about building a app that searches for and displays pages from Google.
I was wondering how i would go about building an app that takes a users input such as a sentence (not a URL) and then searches for their input on Google. This app would then have to display a selected page automatically on the UIWebView.
My existing code in my viewcontroller.m is as follows:
- (void)viewDidLoad
{
[super viewDidLoad]; [webView loadRequest: [NSURLRequest requestWithURL:[NSURL URLWithString:@"http://www.google.com"]]];
}
I now want my app to use a users input (a word or a sentence) and search Google with that input but do it in the background then display the first search result in the UIWebView, what code would i need?
Thanks
iPhone 5