UINavigationController instance method
pushWithingsWebView(url:notificationCallback)
Push a view controller to install or configure Withings products.
Declaration
func pushWithingsWebView(
url: URLRequest,
notificationCallback: ((UIViewController, WithingsWebViewNotification)->Void)?
)
Parameters
url
This is your backend's URLRequest to authenticate the user and redirect them to the Withings installation or settings WebView.
notificationCallback
It takes the pushed UIViewController and the notification WithingsWebViewNotification as parameters.
Please refer to the notifications list to find out if you have to pop the UIViewController.