I\'m trying to pass a function reference from JavaScript in a WebView, so my Objective-C code can call then back into that function when the asynchronous Obj-C method completes.
Maybe if it's a global non-anonymous function you can try passing the function name to Obj-C and then evaluating sth like [NSString stringWithFormat:@"%@()", function_name] ?