views:

26

answers:

1

Hi,

can anyone give me an idea about how to pass parameter from objective c to javascript using NimbleKit??

Thanks Rony

+1  A: 

Still struggle with the NimbleKit? :)

Try using the next code:

// I assume that you have a global JS variable called "parameter"...
[webView stringByEvaluatingJavaScriptFromString:@"parameter=7;"];
Michael Kessler
Hello Michael,Thanks very much...yes..still struggle but all technical prob is almost solved...actually i am new in this field...only 2 months on objective c...bye the way thank u very much..ThanksRony
Rony
So, does `stringByEvaluatingJavaScriptFromString` work with NimbleKit?
Michael Kessler
sorry not tried yet....i will let u know as soon as i use it...
Rony