Skip to main content

withingswebview

Class

WithingsWebView

This is an enhanced WKWebView with Web Bluetooth protocol enabled. It allows communication between the WebView and BLE devices.

Declaration

class WithingsWebView: WKWebView

Init

public init(frame: CGRect, configuration: WKWebViewConfiguration, polyfillJs: String? = nil, notificationCallback: @escaping ((WithingsWebViewNotification) -> Void))

Please ignore the polyfillJs parameter, as it is required for very specific advanced uses that you probably won't need.

Help

Login required

Please log in to your Developer Dashboard in order to file a request.

OK