1

This is the first time i have this problem .

    -(void)onEnter
{

    [super onEnter];

    winSize = [[CCDirector sharedDirector] winSize];
    NSLog(@"wins:%f",winSize.height);

is returning 480 on iPhone5 simulator . Whats wrong here ?? its in onEnter ..

Curnelious
  • 1
  • 16
  • 76
  • 150

1 Answers1

3

Add Default-568h@2x.png (640x1136) to your Xcode target.

Already added then checkout my answer here: [[CCDirector sharedDirector]winSize] is wrong

Community
  • 1
  • 1
Guru
  • 21,652
  • 10
  • 63
  • 102