Custom HTTP headers UIWebview

Posted by kjeldGr on Stack Overflow See other posts from Stack Overflow or by kjeldGr
Published on 2012-10-01T15:36:27Z Indexed on 2012/10/01 15:37 UTC
Read the original article Hit count: 173

Filed under:
|
|
|

I'm developing an application for iOS in Xcode 4.5 but I have a problem with a UIWebView. I want to set a header(BASE64 code) to skip a login part. When I try this, using the NPWebView project the webview always fails with an error which looks like this:
Error Domain=NSURLErrorDomain Code=-999 "The operation couldn’t be completed. (NSURLErrorDomain error -999.)" UserInfo=0x6ace650 {NSErrorFailingURLKey="MY URL", NSErrorFailingURLStringKey="MY URL"}

I hope someone can help me!

© Stack Overflow or respective owner

Related posts about ios

Related posts about xcode