Reputation: 3281
how can i get the type of device, which is launched my application? i want to show different scenes(one for iphone and another for ipad) for different devices
Upvotes: 0
Views: 748
Reputation: 10548
Checkout the UIDevice
class. Look for UIUserInterfaceIdiomPad
. Using this you can identify whether the device in question is a iPad
Upvotes: 1
Reputation: 9593
http://www.cocos2d-iphone.org/forum/topic/8107 reply no. 2 by petrusali
learn to love your cocos2d forums
Upvotes: 1