I am developing an application for iphone.I need to call a javascript function into my objective c class .Is that possible??
2 Answers
Try
- (NSString *)stringByEvaluatingJavaScriptFromString:(NSString *)script
1 Comment
Clement Herreman
Wow, is there a
"(NSCoffee *)coffeeByMakingWaterBoilAndPassThroughCoffee" in Objective C ? :DYou may want to check out a category I did arround NSString for getting JS and regular expressions: iPhone - evaluating JavaScript and Regular Expressions using UIWebView