The WKUIDelegate class provides methods for presenting native user interface elements on behalf of a webpage.


Web view user interface delegates implement this protocol to control the opening of new windows, augment the behavior of default menu items displayed when the user clicks elements, and perform other user interface–related tasks. These methods can be invoked as a result of handling JavaScript or other plug-in content. The default web view implementation assumes one window per web view, so non-conventional user interfaces might implement a user interface delegate.


Inherits From