Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- webView.evaluateJavaScript(javascript) { res, err in
- let isSuccessToApply: Bool = (res as? Bool) ?? false
- //let json = try? JSONSerialization.jsonObject(with: res, options: []) as? [String: Any]
- print("Javascripted executed \(isSuccessToApply)")
- print("Javascript Res \(res)")
- // print(NSString(res.?name))
- //for element in res {
- // print(element)
- //}
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement