WebViewSDK 0.0.8

WebViewSDK 0.0.8

Maintained by Alexander Mokrushin.



  • By
  • Alexander Mokrushin

WebViewSDK

Framework contains SDK to use camera torch from page loaded to WKWebView.

Usage

  1. Clone ios-webview-sdk to the directory:
ios-webview-sdk
  1. Open project file WebViewSDK.xcodeproj from ios-webview-sdk in XCode 14.3+:
  2. Build library in XCode.
  3. If you need to build library manually, use the following commands:
xcodebuild archive -sdk iphoneos -configuration Release -project WebViewSDK.xcodeproj -scheme WebViewSDK

Sample of HTML-file

Please find the sample HTML-file in assets of the demo project: index.html