- You may use in-app browser to utilize our JavaScript API. For example you can use UIWebView in iOS and call the API in a simple page (perhaps with a nice animation) inside your application. You can then save the test result into a database (by calling a web service) or pass the test result to the app to be taken care of. So, there are two approaches:
- Showing a simple page inside the app that measures the user speed and send the result directly to your web service/api
- Showing a simple page inside the app that can communicate and be controlled by the app. In this case the app can start the test the get the results directly:
- Please see the following page: http://stackoverflow.com/questions/9473582/ios-javascript-bridge
- Using WKWebkit
- Here's a sample SWIFT code
Using API in a iOS mobile app
Have more questions? Submit a request
Article is closed for comments.
0 Comments