How to use getOnJSCallback of ccui.WebView

How to use getOnJSCallback of ccui.WebView
0.0 0

#1

Hi, I’ve used ccui.WebView to load 1 url in my app. I’ve run on iOS device. My website has a button to do an action. So I want to callback to my app when I touch a button on my website. How could I do?
Thanks in advanced