开发者

WebView Failed error in iPhone

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.)


We can resolve this problem by using string encoding

NSString *encodedString=[siteUrl stringByAddingPercentEscapesUsingEncoding:NSUTF8StringEncoding];
NSURL *weburl = [NSURL URLWithString:encodedString];


Maybe look at WebKitErrorDomain error 101 for reference. Need to see more of your code though. Can you provide listing?

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜