Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ios端 #4

Open
hnothing2016 opened this issue Jun 29, 2018 · 4 comments
Open

ios端 #4

hnothing2016 opened this issue Jun 29, 2018 · 4 comments

Comments

@hnothing2016
Copy link

这个JS可以通用到IOS端吗? 共用一套html代码
苹果端和安卓端实现的原理应该是类似的吧?

@toberole
Copy link

toberole commented Jul 5, 2018 via email

@hnothing2016
Copy link
Author

jsbridge 只能调用static方法吗

@Sunzxyong
Copy link
Owner

@hnothing2016 js是通用的

@Sunzxyong
Copy link
Owner

@hnothing2016 这个不一定,最好封装为静态方法,否则需要传入对象进行调用,这个具体场景可以有不同限定规则

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants