Skip to content

Swift and Javascript in the project how to call each other, the integration of multiple Demo. Quickly get started with the WebViewJavascriptBridge framework.

License

Notifications You must be signed in to change notification settings

CoderZYWang/WebViewJSBridgeDemoForSwift

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WebViewJSBridgeDemoForSwift

在项目中Swift和Javascript如何相互调用,集成多个Demo。快速上手WebViewJavascriptBridge框架。


## 如何使用 * 安装 Cocoapods * 切换到项目的根目录,执行 pod install 打开项目运行
## 在本案例中集成的方法:
  • JavaScript 调用 Swift 的方法,访问 Swift 相册,Swift 底部弹出提示窗口
  • Swift 调用 JavaScript 的方法,获取用户信息,弹窗输出,插入图片,刷新界面,界面跳转

## 主界面 ![image~~~](https://github.com/CoderZYWang/WebViewJSBridgeDemoForSwift/blob/master/Snip20160923_1.png)

About

Swift and Javascript in the project how to call each other, the integration of multiple Demo. Quickly get started with the WebViewJavascriptBridge framework.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages