0

I am developing an application for iphone.I need to call a javascript function into my objective c class .Is that possible??

2 Answers 2

3

Try

- (NSString *)stringByEvaluatingJavaScriptFromString:(NSString *)script
Sign up to request clarification or add additional context in comments.

1 Comment

Wow, is there a "(NSCoffee *)coffeeByMakingWaterBoilAndPassThroughCoffee" in Objective C ? :D
0

You 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

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.