My app (iOS 5.1) has a xib called MainWindow.xib which does NOT contain a
window, just two objects, one of this is an UIApplicationDelegate.
This UIApplicationDelegate has:
- (void)applicationDidFinishLaunching:(UIApplication *)application
{
NSLog(@"%s %u",__FUNCTION__,[[UIDevice currentDevice]
userInterfaceIdiom]);
...
}
When I run this in iPad 5.1 Simulator, it prints "0" =
UIUserInterfaceIdiomPhone.
Why does this thing delude itself being a phone?
(This was an iPhone project, which I am now trying to make universal).
Kind regards,
Gerriet.
_______________________________________________
Cocoa-dev mailing list ([email protected])
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com
This email sent to [email protected]