Trait wry::WebViewBuilderExtDarwin

source ·
pub trait WebViewBuilderExtDarwin {
    // Required method
    fn with_data_store_identifier(self, identifier: [u8; 16]) -> Self;
}

Required Methods§

source

fn with_data_store_identifier(self, identifier: [u8; 16]) -> Self

Initialize the WebView with a custom data store identifier. Can be used as a replacement for data_directory not being available in WKWebView.

  • macOS / iOS: Available on macOS >= 14 and iOS >= 17

Object Safety§

This trait is not object safe.

Implementors§