carlogulliani (carlogulliani) wrote in macosxdev,
carlogulliani
carlogulliani
macosxdev

how to call obj-c's function from javascript?

 hi all, it's me again, how to call function from javascript?

i've found CallJS example, but i don't understanding how it works...

i've javascript function:

function sendToObjC(){
console.callfromjs();
}

what i should to do next?
Subscribe
  • Post a new comment

    Error

    default userpic

    Your IP address will be recorded 

    When you submit the form an invisible reCAPTCHA check will be performed.
    You must follow the Privacy Policy and Google Terms of use.
  • 0 comments