8

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
Jason
  • 367
  • 6
  • 18

2 Answers2

8

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;
PiTheNumber
  • 22,828
  • 17
  • 107
  • 180
CertDoctor
  • 101
  • 1
  • 7
0

[CB-853] Deprecate window.invokeString - use window.handleOpenURL(url) instead

http://mail-archives.apache.org/mod_mbox/incubator-callback-commits/201207.mbox/%3C20120716205424.998B414A2D@tyr.zones.apache.org%3E

iGriffer
  • 250
  • 4
  • 16