0

Possible Duplicate:
cocos2d iphone 5 4 inch display support

I'm new with Cocos 2d. I created new Xcode Project and in AppDelegate when i've got:

[[UIScreen mainScreen] bounds]]

that result me 320x480. Should be 320x568. Where is the problem? Where should i make changes to support iPhone5? I see on stackoverflow are duplicated about iPhone5 and Cocos2d but i don't see correct answer for me.

Log from console:

2013-01-02 19:19:23.505 XXX[4963:907] cocos2d: surface size: 960x640
Community
  • 1
  • 1
Tomasz Szulc
  • 4,217
  • 4
  • 43
  • 79

0 Answers0