cordova/phonegap 2.0 iOS

后端 未结 2 1715
北海茫月
北海茫月 2020-12-16 04:18

I get deprecation warnings for invokeString in Main and App .m files. I haven\'t seen any posts on how to fix this. So far it\'s working ok, just curious.

         


        
2条回答
  •  悲&欢浪女
    2020-12-16 04:44

    This really helped cause I couldn't figure out how much to comment out... drove me crazy.

    http://iphonedevlog.wordpress.com/2012/09/24/phonegap-2-1-0-in-mac-os-x-mountain-lion-10-8-from-download-to-ios-app-store/

    In MainViewController.m comment out:

    /* #pragma UIWebDelegate implementation
    - (void) webViewDidFinishLoad:(UIWebView*) theWebView
    {
        ... all ...
    } */
    

    and in AppDelegate.m comment out:

    // self.viewController.invokeString = invokeString;
    

提交回复
热议问题