gaoyunxiahappy 发表于 2016-12-5 09:07:32

cordova升级到6.4 object-c与JavaScript交互问题

在CDVUIWebViewNavigationDelegate.m中
- (void)webViewDidFinishLoad:(UIWebView*)theWebView
{
    NSLog(@"Finished load of: %@", theWebView.request.URL);
   
    ;
   
    CDVViewController* vc = (CDVViewController*)self.enginePlugin.viewController;

    // It's safe to release the lock even if this is just a sub-frame that's finished loading.
    ;

    /*
   * Hide the Top Activity THROBBER in the Battery Bar
   */
    [ setNetworkActivityIndicatorVisible:NO];

    [ postNotification:];
}

;这句话走不到JSfunction AutoLogin()代码中

ionicwang 发表于 2016-12-8 21:09:36

用低版本试试
页: [1]
查看完整版本: cordova升级到6.4 object-c与JavaScript交互问题