I have a really weird problem with a UIWebView.
I'm using it to login users to several services, I open the UIWebView, show a HTML login page, and pressing one of the textfields opens up the keyboard, as it should.
Afterwards, If i try loading a different login screen in it, pressing the input doesn't show the keyboard for some reason.
Did any of you ever run into this weird bug ? I tried checking for [self.window makeKeyAndVisible];
like i saw some recommend but it doesnt solve the problem unfortunately :(
This is how i load the UIWebView:
[webAuth stringByEvaluatingJavaScriptFromString:@"document.body.innerHTML = \"\";"];
[webAuth loadRequest: [NSURLRequest requestWithURL: [NSURL urlWithString:@"http://whatever"] ]];
First line is for clearing the page (tried removing it , it doesnt solve the keyboard problem)