Start a new topic

Native to Javascript interfacing in iOS

Native to Javascript interfacing in iOS


Do you see any output in the console and are you sure that the callJavascript method is called. There might as well be some error in the javascript you are supplying to the callJavascript method. You can try supplying e.g. "alert('calling js is working');" to check if you are calling the method correctly js is called.

If you still have problems getting this to work, please post how exactly you are doing it and what result you get.

Can someone give me the details of calling a javascript function from native code in detail, tried using the technique from documentations and samples but its not working for me.
 
Login or Signup to post a comment