cocos2d/cocos2d-objc

Nothing appear on iPad Air

SergeyOleynich opened this issue · 0 comments

I have old project and it use cocos2d iPhone. It works fine on iPhone 4S, 5S, 6, 6Plus and iPad 2. Also it works on iPad 3 and iPad Air but no images appear but buttons which uses CCLabelTTF work but label not appear. What it may be?

CCMenuItem *newGameButton =
[CCMenuItemLabel itemWithLabel:[CCLabelTTF labelWithString:@"PLAY" fontName:@"Arial Rounded MT Bold" fontSize:30.0] target:self selector:@selector(newGameClicked:)];

    newGameMenu = [[CCMenu menuWithItems:newGameButton, nil] retain];
    [newGameMenu alignItemsVertically];
    newGameMenu.position = ccp(lrintf(CGRectGetWidth([[UIScreen mainScreen] bounds]) / 2), 120);

    [self addChild:newGameMenu];

And this label not appear only on iPad with retina display