Skip to content

Commit

Permalink
Update WebViewViewController.swift (#8)
Browse files Browse the repository at this point in the history
Fix Live Broadcast, which opens a full native camera without a button to take a picture of the document.
  • Loading branch information
thiagofariasonfido authored Apr 17, 2024
1 parent 63a4e7b commit 8114e55
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions SmartCaptureDemo/UI/WebViewViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,8 @@ final class WebViewViewController: UIViewController {

let webConfiguration = WKWebViewConfiguration()
webConfiguration.userContentController = contentController
webConfiguration.allowsInlineMediaPlayback = true
webConfiguration.mediaPlaybackRequiresUserAction = false
return webConfiguration
}

Expand Down

0 comments on commit 8114e55

Please sign in to comment.