The Game Can not show all on iphone5.why ?

The iphone5 device`s screen resolution is 1136*640. I have developed a small game with coco2dx.
But the game can not show all on iphone5,there are black border on left and right side,the game view seems only 960*640,
But My game resource resolution is also 1136*640.Why is it? Could you help me?

kundi jiang wrote:

The iphone5 device`s screen resolution is 1136*640. I have developed a small game with coco2dx.
But the game can not show all on iphone5,there are black border on left and right side,the game view seems only 960*640,
But My game resource resolution is also 1136*640.Why is it? Could you help me?

add a black picture(1136*640) to your project, the picture named “Default-568h@2x.png”.

coco2d -x wrote:

add a black picture(1136*640) to your project, the picture named “Default-568h@2x.png”.

I have added a black picture(1136*640) to the project,it can show normal in iphone5(Retina 4inch) simulator. But It’s strange that it still can not show all on the iphone5 real device.
What is wrong?