A
A
Anton2014-12-07 14:18:29
JavaScript
Anton, 2014-12-07 14:18:29

How to use a javascript library in a Swift application?

In a swift application, we get an array of values ​​from the source data, according to which we need to build graphs. As an option to display the graph through WebView. I plan to use the amCharts library. How can it be done?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
ManWithBear, 2014-12-07
@ManWithBear

[myWebView stringByEvaluatingJavaScriptFromString:@"Here your script"];

your case.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question