I am using a label in my game where I am placing it on certain position using winsize
CCSize winSize=CCDirector::sharedDirector()->getwinsize();
Now its position is perfect in ipad.But when i run in iphone5 which has make images some stretched ,the position of label is little upwards than where I placed.
So is there a way in cocos2d-x to determine the type of device and then i can use position in if else loop like
if(iphone) then labelpostion
else if(ipad) then labelposition..
rest i am doing scaling and all the other things placed in my game is perfect.
I found many things regarding the same issue in cocos2d but unable to find in cocos2d-x.Can anyone share his/her knowledge regarding this problem. I will be thankful