iPhone UIWebView initial focus?

Posted by BahaiResearch.com on Stack Overflow See other posts from Stack Overflow or by BahaiResearch.com
Published on 2010-03-15T13:53:59Z Indexed on 2010/03/15 13:59 UTC
Read the original article Hit count: 292

Filed under:
|
|
|

I have a simple app with a full screen UIWebView. This contains HTML generated by the app. I respond to clicks on various elements of the page via document.location = "someCommand"

I have to touch the screen once before it will respond to a second touch. It's almost like it is not the focused control.

it is the only view in the app.

How can I ensure that the first time the UIWebView is touched it responds?

© Stack Overflow or respective owner

Related posts about iphone

Related posts about uiwebview