Sorry, I thought all people knew this book, you can find it at http://shop.oreilly.com/product/0636920021728.doThat's not giving us alot dude..
Tried setting breakpoints etc, to see where it blocks, because this is nice for us to see (you haven't given a title/author/what source though..).
And you haven't showed any code, how can we even try helping?
Sorry, I thought all people knew this book, you can find it at http://shop.oreilly.com/product/0636920021728.do
I downloaded source in chapter 14 from http://examples.oreilly.com/0636920021728/Chapter 14.zip
I tried all projects in that zip file, can you help me? I don't think only me met this problem because this is a famous book what I think...
- (BOOL) application:(UIApplication *)application
didFinishLaunchingWithOptions:(NSDictionary *)launchOptions{
[self addAlarmToCalendar];
self.window = [[UIWindow alloc] initWithFrame:
[[UIScreen mainScreen] bounds]];
self.window.backgroundColor = [UIColor whiteColor];
[self.window makeKeyAndVisible];
return YES;
}
Have you bothered to look at the console?
"Applications are expected to have a root view controller at the end of application launch"
Also, what are you expecting to happen?
Code:- (BOOL) application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions{ [self addAlarmToCalendar]; self.window = [[UIWindow alloc] initWithFrame: [[UIScreen mainScreen] bounds]]; self.window.backgroundColor = [UIColor whiteColor]; [self.window makeKeyAndVisible]; return YES; }