The following code produces and error of:
WebKitErrorDomain error 101
code:
-(Void) searchBarSearchButtonClicked: (UISear
According to the WebKitError header, error 101 means, "WebKitErrorCannotShowURL" which is not very helpful.
This line is incorrect:
NSURL * url = [NSURL URLWithString: [NSString stringWithFormat: @ "http://http://www.google.com/search?q =%, query]];
... it should look like:
NSURL * url = [NSURL URLWithString: [NSString stringWithFormat: @ "http://www.google.com/search?q =%@", query]];
I'm not sure if that it causing the error by producing a bad URL or if it is a typo.