Using Retina Display mode
Both the iPhone 4 and the iPad support Apple’s Retina Display mode. On the iPhone 4 this doubles the resolution to 960×640.
The creators of Cocos2d have taken a lot of care in integrating this feature into the framework. Retina display can be turned on with the flick of a switch. Getting your game to run similarly in both hi-definition and standard-definition can be tricky though. Luckily they have taken this into consideration as well. In this recipe we will enable Retina Display and then display a hi- resolution image.