fix: remove deprecated WKProcessPool — iOS 15+ shares automatically
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -14,9 +14,7 @@ final class ArticleRenderer {
|
|||||||
let webView: WKWebView
|
let webView: WKWebView
|
||||||
|
|
||||||
private init() {
|
private init() {
|
||||||
let pool = WKProcessPool()
|
|
||||||
let config = WKWebViewConfiguration()
|
let config = WKWebViewConfiguration()
|
||||||
config.processPool = pool
|
|
||||||
config.allowsInlineMediaPlayback = true
|
config.allowsInlineMediaPlayback = true
|
||||||
|
|
||||||
webView = WKWebView(frame: .zero, configuration: config)
|
webView = WKWebView(frame: .zero, configuration: config)
|
||||||
|
|||||||
Reference in New Issue
Block a user