Skip to content

how to send array value for js methods #4

@joshua85

Description

@joshua85
  1. interfacename : app
  2. js method for html page (test.html)
    var keys = ['title','header'];
    alert(app.testwitharrayret(keys));
  3. how to excute the params for array
  4. (NSArray_)testwitharrayret:(EasyJSDataFunction_)params{
    NSLog(@"test with param: %@ ", params);
    NSArray *obj_arr = [NSArray arrayWithObjects:@"share",@"social", nil];
    params.removeAfterExecute = NO;
    return [params executeWithParams:obj_arr];
    }

hi dukeland. kindly canplease help me this issue

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions