There is a bug in webView goBack implementation
曾经蜡笔没有小新
曾经蜡笔没有小新 2017-05-02 09:37:11
0
0
645
  1. We need to use the canGoBack method of webView, but we found that weex does not provide the export of this method

  2. Then I found that the source code of weex sent fireEvent to the js side in the - (void)webViewDidFinishLoad:(UIWebView *)webView; method

  3. However, when ajax refreshes the page asynchronously, the - (void)webViewDidFinishLoad:(UIWebView *)webView; method on the Native side will not be triggered, so our js side still uses the previous canGoBack value

曾经蜡笔没有小新
曾经蜡笔没有小新

reply all(0)
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template