New User questions on livecode on iPhone Simulator
Posted: Wed May 18, 2011 11:12 pm
OK. I have just started with livecode and I am no expert in programming - so sorry if I am missing some fundamentals here or I have idiot questions.
I tried writing a several card application that worked fine in livecode but when I sent it to the iPhone simulator it just shows a grey screen when the app runs. So I have tried to strip back to the basics to get something really simple to work on the simulator how I expect. This is what I have done;
I have installed the latest Xcode and SDK for ios
I have livecode running and pointed at the developer directory in Mobile Support
Created a new mainstack and make 640 x 480 in size. Then simply inserted a blue button and then inserted an image box. In the image inspector I have Sourced a jpg image that shows up in the box in livecode.
I save this stack and then go to stand alone application settings and ios. select iPod & iphone and ios 4.2 and leave everything else as is.
Then I click test and the simulator starts working.
The output is not what I expect and this is what I would like to understand;
First - the button looks nothing like the button in livecode (nice rounded and translucent in livecode) strange grey square button on simulator
Second - No sign of the image in the iphone simulator (i used a jpeg photo.
Can anybody help me understand why I get these outputs and what I do to correct this. I would love to post an image to show you but I can't.
Thanks in advance!
Ed
I tried writing a several card application that worked fine in livecode but when I sent it to the iPhone simulator it just shows a grey screen when the app runs. So I have tried to strip back to the basics to get something really simple to work on the simulator how I expect. This is what I have done;
I have installed the latest Xcode and SDK for ios
I have livecode running and pointed at the developer directory in Mobile Support
Created a new mainstack and make 640 x 480 in size. Then simply inserted a blue button and then inserted an image box. In the image inspector I have Sourced a jpg image that shows up in the box in livecode.
I save this stack and then go to stand alone application settings and ios. select iPod & iphone and ios 4.2 and leave everything else as is.
Then I click test and the simulator starts working.
The output is not what I expect and this is what I would like to understand;
First - the button looks nothing like the button in livecode (nice rounded and translucent in livecode) strange grey square button on simulator
Second - No sign of the image in the iphone simulator (i used a jpeg photo.
Can anybody help me understand why I get these outputs and what I do to correct this. I would love to post an image to show you but I can't.
Thanks in advance!
Ed