Reputation: 333
I am trying to load website in webview.But i am getting error. Please correct me where i am wrong
URL : http://www.facebook.com/pages/Fresh-Caesar/144860502248864 Error : The operation couldn’t be completed. (WebKitErrorDomain error 101.)
Upvotes: 3
Views: 7151
Reputation: 2306
We can resolve this problem by using string encoding
NSString *encodedString=[siteUrl stringByAddingPercentEscapesUsingEncoding:NSUTF8StringEncoding];
NSURL *weburl = [NSURL URLWithString:encodedString];
Upvotes: 15
Reputation: 8237
Maybe look at WebKitErrorDomain error 101 for reference. Need to see more of your code though. Can you provide listing?
Upvotes: 0