applicationDidFinishLaunching iPhone 3 and above


#1

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 {

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

and line 2 of page 65
// NOT THIS
//return YES


#2

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.


#3

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