Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

cordova/phonegap 2.0 iOS

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.

self.viewController.invokeString = invokeString;   <-'invokeString' is depcrecated
like image 667
Jason Avatar asked Jul 23 '12 16:07

Jason


1 Answers

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;
like image 166
CertDoctor Avatar answered Sep 30 '22 05:09

CertDoctor