Reputation: 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 ..
Upvotes: 1
Views: 239
Reputation: 22042
Add [email protected] (640x1136) to your Xcode target.
Already added then checkout my answer here: [[CCDirector sharedDirector]winSize] is wrong
Upvotes: 3