iOS: Load Form in a UIWebView and Submit
[self.webView stringByEvaluatingJavaScriptFromString:[NSString stringWithFormat:@"document.getElementById('username').value ='%@'", @"user"]];
[self.webView stringByEvaluatingJavaScriptFromString:[NSString stringWithFormat:@"document.getElementById('password').value ='%@'", @"passs"]];
[self.webView stringByEvaluatingJavaScriptFromString:@"document.getElementById('loginForm').submit()"];
iOS: Load Form in a UIWebView and Submit
Reviewed by Unknown
on
8:28
Rating:
No hay comentarios: