How to call a JavaScript function which returns an HTML string in body using Swift webView?
问题 I have an HTML file which is generated after calling a JavaScript fucntion in the body. I need to remove the JavaScript call from the HTML and call it from my Swift using webView delegates. I tried using stringByevaluatingJavaScript but it doesn't work. I am adding the HTML file which has a JavaScript function in it. <!DOCTYPE html> <html> <head> <title>Complete Blood Count</title> <link href="https://www.fontify.me/wf/4dae5b9279578bbce15473cde2ae897f" rel="stylesheet" type="text/css"> <style