I am trying on xcode to run our app on the simulator and check the screen height. I am using cocos2d, but i also have tried apple methods .
NSLog(@"HEIGT:%f",[UIScreen mainScreen].bounds.size.height);
//and also :
winSize = [[CCDirector sharedDirector] winSize];
NSLog(@"HEIGT:%f",winSize.Height);
both gives me height of 480 on the iPhone5 4 inch simulation . Why is that ? and how can i know if this is actually iPhone5 ?