Tweet, Share & Like [ EnAcCiOn ]

 

FeedBurner FeedCount Y Facebook | EnAcCiOn

Send Voicemail | EnAcCiOn

Contact me using vCita | EnAcCiOn

Contact me using vCita | EnAcCiOn

Meeting Scheduler Powered by vCita

lunes, 17 de febrero de 2014

reCaptcha not working in iOS6 UIWebView

Hello,I have problems with loading reCAPTCHA with UIWebView component on iOS6.The first time page loads fine. See first screenshot for http://bit.ly/1dG6j4H. But subsequent requests for the same page have captcha image missing. See second screenshot.My controller code is simple: - (void)viewDidLoad { [super viewDidLoad]; [self.webView loadRequest:[NSURLRequest requestWithURL:[NSURL URLWithString:@"http://bit.ly/1dG6j4H"]]]; } the second time this controller is show I have broken reCAPTCHA image. Clearing cache with [[NSURLCache sharedURLCache] removeAllCachedResponses]; does not help. Specifying NSURLRequest cache policy does not work too: - (void)viewDidLoad { [super viewDidLoad]; [self.webView loadRequest:[NSURLRequest requestWithURL:[self.reCaptchaURL] cachePolicy:NSURLRequestReloadIgnoringLocalCacheData timeoutInterval:60]]; } The problem is specific to iOS 6.0 and iOS 6.1. On iOS 7.0 this code works fine. -- You received this message because you are subscribed to the Google Groups "reCAPTCHA" group. To unsubscribe from this group and stop receiving emails from it, send an email to recaptcha+unsubscribe@googlegroups.com. To post to this group, send email to recaptcha@googlegroups.com. Visit this group at http://bit.ly/1dkFnYd. For more options, visit http://bit.ly/1gYXIc9.

No hay comentarios:

EnAcCiOn

Contador Web | EnAcCiOn

EnAcCiOn

EnAcCiOn

EnAcCiOn

Blog Archive | EnAcCiOn