In iOS 13 and below, how can WKWebView call an async Javascript function (i.e. one that returns a promise)?

后端 未结 0 1062
我在风中等你
我在风中等你 2020-12-14 22:07

iOS 14 has this API, however how can this be achieved in iOS 13 or below?

For example, suppose the JS has a function defined as:

function upperCaseAsyn         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题