applicationDidFinishLaunching iPhone 3 and above


I was able to launch the exercise at the state its in on page 66 only if I edited the code at the bottom of page 64 to read:

-(void)applicationDidFinishLaunching:(UIApplication *)application {

//- (BOOL)application:(UIApplication *)application
//didFinishLaunchingWithOptions:(NSDictionary *)launchOptions

and line 2 of page 65
//return YES


application:didFinishLaunchingWithOptions: is 3.0 only. Apple recommends that this method is used instead of the earlier applicationDidFinishLaunching:.

The book assumes you have upgraded to 3.0. There is very little reason to support 2.0 development, especially now with 4.0 on the way.


Thanks for the clarification, I appreciate the response, I’ll update to the latest sdk.