Skip to content

masakih/MuteableWKWebView

Repository files navigation

Build Status License GitHub release Carthage compatible

MuteableWKWebView

Mute per WKWebView like Safari.


How to use

Interface:

@interface WKWebView (HMMuteExtension)

@property (getter=isMuted) BOOL muted;

@end

MuteableWKWebView append mute property into WKWebView.

Usage:

WKWebView *webView;

// mute
webView.muted = YES;

// unmute
webView.muted = NO;

powered by https://github.com/hetima/HTSymbolHook.