The following code produces and error of:
WebKitErrorDomain error 101
code:
-(Void) searchBarSearchButtonClicked: (UISear
Make Sure that your url doesn't contain white space and new line characters.
To do this you can use the following code:
NSString *newString = [url stringByTrimmingCharactersInSet:[NSCharacterSet whitespaceAndNewlineCharacterSet]];