I want to call iOS native method using JSContext with two parameters.
-(void)log:(NSString*)msg; in JSExport works fine when called with viewcontroller.log(logmasg); where viewcontroller is set as JS["viewcontroller"] = objCobj;
with same settings how can I call methos with two parameters
-(void)iosMethod:(NSString*)param1 andParam:(NSString*)param2 I tried calling as viewcontroller.iosMethodandParam('I am 1','I am 2');
But it do not call that method. any help is appreciated .