Phonegap, iphone - applicationDidFinishLaunching not calling

I am trying to get started with Phonegap.

I added some code to applicationDidFinishLaunching, but this does not seem to be called.

I added breakpoints (log, continued) for each of the init and applicationDidFinishLaunching methods. This confirms that the latter is not really caused.

Xcode, Objective-C, and Phonegap are all alien to me, and so I lost a little how to resolve this.

thank

EDIT: I just tried creating a whole new unmodified telephone conversation project, and the same thing happens. init breakpoint fire, but applicationDidFinishLaunching does not.

0
source share
2 answers

iphone. , phonegap.

phonegap, ProjectDidFinishLaunching , , webViewDidFinishLoad webViewDidStartLoad , .

applicationDidFinishLaunchinWithOptions of PhoneGapLib.xcodeproj, phonegap, excute.

NSLog(); . U ..

+1

, , , Phonegap Xcode UIApplication . iOS 4.0 Apple didFinishLaunchingWithOptions applicationDidFinishLaunching, , , . iOS 4.0 , , , Apple Push Notification .

, , AppDelegate.m, applicationDidFinishLaunching, :

(BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
{
     //     Add custom code here

     return [ super application:application didFinishLaunchingWithOptions:launchOptions ];
}

- Phonegap 0.9.3 didFinishLaunchingWithOptions PhoneGapDelegate.m, XCode - applicationDidFinishLaunching, .

+5

All Articles