Start a new topic

send Array from javascript to ios objective c

send Array from javascript to ios objective c


I can send string variables from javascript to native ios by "document.location".

But I need now to send Array, with multi varibles which may contains url, and url string make a conflict in special charcters if we used "document.location"

So, How can I do that ?

Thank you,

use encodeURI in JS and decode in native code where required.

best regards
Login or Signup to post a comment