ipad simulation

This is the place to discuss anything relating to MobGUI

Moderators: heatherlaine, kevinmiller, robinmiller, malte, splash21

Post Reply
rdmiller
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 15
Joined: Thu Mar 29, 2012 10:46 am

ipad simulation

Post by rdmiller » Thu Mar 29, 2012 10:51 am

I submitted this to MobGUI support yesterday. No response yet. Trying to complete an app. Any suggestions/workarounds would be great.
--------------------

I finished building an app for the iphone, which seems to function properly. Today, I used the option to design it for the ipad as well. I modified the sizes and locations of all the elements on the roughly 20 cards spread out over two stacks. It displays properly in LC, where I can check every card by pressing IPHONE or IPAD in MobGUI. I have checked and rechecked them. They all redistribute the objects correctly.

When I test the app in the simulator with the device set to ipad, however, the cards are a mess. Some work; some don't; some work correctly, but then after moving to other cards, they no longer display properly upon return.

The only way I can get the LC app to run as an ipad app in the simulator is to specify "ipad" as the supported device in the "application settings" area. If I set that to "iphone,ipod,ipad", it won't appear as an ipad app in the simulator. I doubt think this is effecting the messy display of the ipad version in the simulator.

I don't own an ipad, so I don't know if the app would actually run correctly on a real device. Perhaps the problem is just with the simulator, but I doubt it.

Richard

rdmiller
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 15
Joined: Thu Mar 29, 2012 10:46 am

Re: ipad simulation

Post by rdmiller » Thu Mar 29, 2012 12:02 pm

Received this response from John, which appears to have solved the problem.
-------------------------
Hi, Richard. Have you clicked the 'Add preOpenCard code to card script' button on every card? If not, then this may solve the problem. You can also select 'Hardware -> Device -> iPad' from the simulator menu, then start your app from it's icon in the simulator. This will allow you to leave the supported device as "iphone,ipod,ipad".

Post Reply

Return to “MobGUI”