I am switching from UIWebView
to WKWebView
, and can't figure out how to set up my configuration for using Reader
.
Is there anyone that can help me?
viewDidLoad
:
WKWebViewConfiguration *config = [NSClassFromString(@"WKWebViewConfiguration") alloc] init];
// Configuration of Reader goes here?
wkWebView = [[wkWebViewClass alloc] initWithFrame:frame configuration:config];
[self.view addSubview:wkWebView];
}