Page 1 of 1

How to tell devices apart

Posted: Thu Nov 18, 2010 4:22 pm
by Mogo
Hello,

is there another way to tell wether a stack is running on iPhone, iPad or iPod touch than to check the content of "the platform"? On the simulator it seems to always return "iPhone".

Thanks

Mogo

Re: How to tell devices apart

Posted: Fri Nov 19, 2010 2:52 am
by ctflatt
Mogo:

Before clicking "Start" in the MobilePlugin, click the plist button to the right of the BundleVers field.

From the "Configure Plist" screen, under "Target Configuration" choose the Minimum iOS version (recommended 3.2 for iPad), and "iPad" under "Supported Devices."

Close the "Configure Plist" screen, then "Start" from the MobilePlugin.

The app should launch as expected for the iPad.

Is this what you were looking for?