How to tell devices apart

Getting into LiveCode for iOS? Ask your questions here.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
Mogo
Posts: 1
Joined: Thu Nov 18, 2010 4:12 pm

How to tell devices apart

Post by Mogo » Thu Nov 18, 2010 4:22 pm

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

ctflatt
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 243
Joined: Sun Dec 06, 2009 12:24 am
Contact:

Re: How to tell devices apart

Post by ctflatt » Fri Nov 19, 2010 2:52 am

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?

Post Reply