update README.md

This commit is contained in:
Yaqing Wang
2015-10-16 15:10:56 +08:00
parent 9c9432b216
commit dff7380e0d

View File

@@ -1,7 +1,7 @@
# HybridWebView
Native object inject to javascript environment.
You can call native method from UIWebView, and send the result back. It also support async callback handler.
You can call native method from UIWebView, and send the result back to web page. It also support async callback handler.
###Usage
@@ -33,7 +33,11 @@ You can add a callback at last if you will get the result later.
ViewController.callArray( function(ret){console.log(ret)} );
###Problem
Only support pass string, array or dictionary.
###Safari web inspector:
![screenshot](./screenshot.png)
###Problem
Only support pass string, array or dictionary now.