pub trait WKWebViewConfiguration: Sized {
// Required methods
unsafe fn init(self) -> id;
unsafe fn setUserContentController(self, controller: id);
// Provided method
unsafe fn alloc(_: Self) -> id { ... }
}
Required Methods§
sourceunsafe fn setUserContentController(self, controller: id)
unsafe fn setUserContentController(self, controller: id)
Safety
All the FFI functions are unsafe.
id
should point to a WKUserContentController