I have a button in my Swift project,
Can I click the HTML button with the Swift button?
This is my Swift button:
@IBAction func buttonclick(_ sender: UIButton) {
//click html button when click swift button
}
This is my HTML code:
<a id="htmlbutton" class="buton" onClick="clickbutton('data')" >Click</a>
I use wkWebView in my project and this html code from my website
Sorry for my bad English.
please check the image