How can I determine programmatically that my app is running on an iPhone, iPad or iPhone 4?
Posted
by micropsari
on Stack Overflow
See other posts from Stack Overflow
or by micropsari
Published on 2010-06-12T11:00:17Z
Indexed on
2010/06/12
11:13 UTC
Read the original article
Hit count: 270
Hello,
I just finish my iPhone game using cocos2d. But before I put it on the AppStore, I'd like to make it work on iPad (which have a bigger screen) and iPhone 4 (which have a bigger resolution).
So, how can I determine programmatically that my app is running on an iPhone, iPad or iPhone 4, to be able to use the correct coordinates / images in my game?
Thanks for your help!
© Stack Overflow or respective owner