Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

mikezang

macrumors 6502a
Original poster
May 22, 2010
931
38
Tokyo, Japan
I just downloaded source in iOS 5 programming Cookbook, but I found all samples just show a blank screen as below, what can I do?

By the way, I am using Xcode 4 and iOS SDK 5 in Mac OS X 10.6.8.
 

Attachments

  • Screen shot 2012-01-08 at 1.34.44.jpg
    Screen shot 2012-01-08 at 1.34.44.jpg
    150.7 KB · Views: 128
That'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?
 
That'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...
 
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...

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;
}
 
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;
}

Thanks for your explanation.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.