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

如果使用init初始化 调用js方法失效 #17

Open
xintenggiegie opened this issue Dec 14, 2016 · 0 comments
Open

如果使用init初始化 调用js方法失效 #17

xintenggiegie opened this issue Dec 14, 2016 · 0 comments

Comments

@xintenggiegie
Copy link

self.shouldSnapshot = NO; self.enableHostInfo = NO;
原因是因为 -(instancetype)initWithUrl:(NSURL *)url这个方法里有上面的设置,
但是我实在看不懂这两个属性怎么会影响到[self.webView stringByEvaluatingJavaScriptFromString:@""]这句代码失效,还请指点一下。

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

1 participant