I need to access camera from a remote html page. I load this html page through child browser . Need to open camera or any native view on a button click on html file..
Share
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.
No sure if this is the best/most elegant possibility, but it should work:
By click on button load an specific URL.
The
UIWebViewhas delegate methods to inform you, when a page finished loading.In the
– webViewDidFinishLoad:method check if the loaded URL was your specific button URL, ifYESshow camera/any other native view.