- I have query regarding Bar code scanning in WebView.
- iOS version is 11.2 and swift version is 4.
I have shared iPad screen sort with error message with you
- If I open URL in Safari then barcode scanning is working, but when I tried to open same URL in Webview (UIWebView OR WKWebView), It's shows me an error then No Video Input Devices Error
- Here I share screen short of bar code scanning working in perfect condition in SAFARI
- In above screen sort, there is one red icon shows in address bar, this indicate for bar code scanning permission.
- I have also tried in SFSafariViewController, but still I face same issue.
- I have added all permission in info.plist Here my info.plist permission screen sort
- Please assist me if you find any solution.
-> You can visit here for more information :- https://stackoverflow.com/questions/49252984/how-to-open-bar-code-scanning-view-in-uiwebview-or-wkwebview