webview app give error in ios swift when open a camera for 2nd time
I am working on a webView app where camera functionality is implemented. When I open the camera and perform an assessment test it works fine, a second time when open the camera and perform the assessment it gives an error and refresh the page.
WkWebview error occur [pageProxyID=13, webPageID=14, PID=2852] WebPageProxy::dispatchProcessDidTerminate: reason=Crash
I am using wkwebview app and implemented camera for assesment. When i start assesment for first time it work fine but when i start it again the page it refresh and the error is occur “[pageProxyID=13, webPageID=14, PID=2852] WebPageProxy::dispatchProcessDidTerminate: reason=Crash”.
How can i fix it. Thanks in advance.