質問編集履歴
1
指摘への修正対応とコードの追加
test
CHANGED
File without changes
|
test
CHANGED
@@ -24,7 +24,7 @@
|
|
24
24
|
|
25
25
|
private var webView: WKWebView!
|
26
26
|
|
27
|
-
let js = "
|
27
|
+
let js = "document.getElementById('footer-pwa').style.display ='none !important';"
|
28
28
|
|
29
29
|
|
30
30
|
|
@@ -44,7 +44,7 @@
|
|
44
44
|
|
45
45
|
// URL設定
|
46
46
|
|
47
|
-
let urlString = "
|
47
|
+
let urlString = "example.com"
|
48
48
|
|
49
49
|
let encodedUrlString = urlString.addingPercentEncoding(withAllowedCharacters:NSCharacterSet.urlQueryAllowed)
|
50
50
|
|
@@ -62,7 +62,7 @@
|
|
62
62
|
|
63
63
|
webView.load(request as URLRequest)
|
64
64
|
|
65
|
-
webView.evaluateJavaScript(js)
|
65
|
+
webView.evaluateJavaScript(js, completionHandler: nil)
|
66
66
|
|
67
67
|
|
68
68
|
|