How can I handle the pressing of a HTML button in a WebView, the button would look like:
<input type="submit" name="mybutton" id="mybuttonid" value="test" />
The WebView is part of a Mac desktop application.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I’m not too sure what you mean by handle the button, but your solution will probably involve using ‘stringByEvaluatingJavaScriptFromString’.
For example:
Hope this helps 🙂