Page 1 of 1

How can I detect what device I am on?

Posted: Thu Apr 26, 2012 9:30 pm
by jnmediaGAd195
Very basic question here. I am writing an app and would like it to run on both the iPhone and the iPad. How do I detect what device I am on? I am assuming that I need to size the screen, buttons, etc. based on the device. Any help is greatly appreciated.

Re: How can I detect what device I am on?

Posted: Thu Apr 26, 2012 9:52 pm
by Dixie
Hi...

Read the iOS release notes... page 41 'Runtime environment querying' and page 35 of the Android release notes... Hardware and system version query support.

be well

Dixie