WebKit Framework for watchOS

As part of a university project, we need to be able to display a website on an Apple Watch and log in to a service. Is it possible to get access to the WebKit framework in a watchOS app? We also need to be able to execute JavaScripts in the browser so that the login process works.

WebKit is not available on watchOS, but you can use ASWebAuthenticationSession to perform web-based authentication like OAuth.

https://developer.apple.com/documentation/authenticationservices/aswebauthenticationsession

Ok, thanks. Login does not work in the Apple Watch browser. Is this because the browser does not support javascript?

WebKit Framework for watchOS
 
 
Q