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
How to tell devices apart
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
Re: How to tell devices apart
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?
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?