registerHandler("methodName", response: "r1)
if (response) {
NSLog(@"%@",response);
if ([response isKindOfClass:[NSDictionary class]]) {
responseCallback([self dictionaryToJsonString:response]);
} else {
responseCallback(response);
}
}
这里的response 可以通过函数动态计算之后传值么
registerHandler("methodName", response: "r1)
if (response) {
NSLog(@"%@",response);
if ([response isKindOfClass:[NSDictionary class]]) {
responseCallback([self dictionaryToJsonString:response]);
} else {
responseCallback(response);
}
}
这里的response 可以通过函数动态计算之后传值么