Help! Objective-C call javascript function

Help! Objective-C call javascript function
0

Hi,
There is a way to call a javascript function from Objective-C?

Many Thanks for help,

Stefano

Hi, i thaink this document can help you.
https://docs.cocos.com/creator/manual/en/advanced-topics/oc-reflection.html?h=objective-c

Hi @zzf520, thanks for answer. We had see the tutorial from your link, but in the sample there isn’t a way to call javascript from Object-c. Now we have resolved with this Call a Javascript function from an Objective-C class (for now :slight_smile:)

Other question in relation about this argument… use this functions, be will generate some trouble with apple for game approval in the apple store?

Thanks for support!

Stefano

1 Like

That is great.