I tried to use 1024x768 sprite as default.png and as the background image. Neither worked. I used the -iPad Simulator 3.2 as active target.
Another strange behaviour is, that if I start the app on the iPad simulator (iPad simulator starts correclty) the following code tells me that I'm on an iPhone/iPod:
#if (__IPHONE_OS_VERSION_MAX_ALLOWED >= 30200)
NSString *str;
// Note that UI_USER_INTERFACE_IDIOM() and UIUserInterfaceIdiomPad are NOT defined in the SDKs prior to 3.2.
if (UI_USER_INTERFACE_IDIOM() == UIUserInterfaceIdiomPad) {
// The device is an iPad
// For example load appropriate iPad nib file
str = [NSString stringWithString:@"We are running an iPad application"];
} else {
// The device is an iPhone or iPod touch, but check for screen sizes!
// For example load your iPhone nib file
str = [NSString stringWithString: @"We are running an iPhone/iPod Touch application"];
}
// Let's see what we have found
UIAlertView *alert = [[UIAlertView alloc] initWithTitle:@"Platform check"
message:str
delegate:nil
cancelButtonTitle:@"Done"
otherButtonTitles:nil];
[alert show];
[alert release];
#endif
Any ideas?