Greetings all,
Couple of questions.
First background.
App was developed in 4.6.4 + Mobgui .27 OSX 10.6.8 X code for IOS 4.
Deployed this to my 4.2 iphone, ran great .. no issues.
Tried to deploy this to ipad 2, running iOS 5. xCodes says "nope, need to upgrade your iOS SDK to 5".
So... I do that.
LiveCode, 4.6.4 with iOS 5 SDK. Try to put on the ipad2, now LiveCode will not save the file, saying I need the older SDK.
Grrrrrr.
Download and install LiveCode 5.0.2 and have that with the iOS 5 SDK.
Open my stack, created in 4.6.4, save it under a new name, and get it over on to my ipad2 using xCode.
QUESTIONS
1. How can I get the stack to show up in the center of the screen (like all other apps not designed for the iPad), the stack hangs out in the top left corner of the screen.
2. In the MobGui settings there is a checkbox to "center" the webpage when using the MobGui plugin.
This works on the iphone, NOT on the iPad show the top left hand side of the content. Is there a fix?
3. Am I to assume that any projects made in LiveCode 5+ will work with iOS 4.x - 5.x?
4. Is there a way to save the stack so it works for both the iphone as well as ipad? Or I am stuck making another stack?
Thanks all..
(and I thought making the stack was the hard part!)
- Jay
depolyment to ipad & iphone?
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
Re: depolyment to ipad & iphone?
Hi Jay,
Just make the app for iPhone only and it will appear centered on your iPad. If you make it for iPad, then LiveCode will draw a big window and place your app in the top-right.
I can't answer your question about MobGUI.
Pretty much all your LC projects will work on iOS 4 and 5, but some features may not work on some devices. There are no guarantees. Always test or ask beta testers to test for you.
Making it work on both iPhone and iPad... do you mean with regard to screen sizes? I'm not sure. Maybe it is possible to set the rect of the stack to the screenRect. I haven't tried this yet. There is an option in the standalone settings that lets you make apps that run on both iPhones and iPads.
Kind regards,
Mark
Just make the app for iPhone only and it will appear centered on your iPad. If you make it for iPad, then LiveCode will draw a big window and place your app in the top-right.
I can't answer your question about MobGUI.
Pretty much all your LC projects will work on iOS 4 and 5, but some features may not work on some devices. There are no guarantees. Always test or ask beta testers to test for you.
Making it work on both iPhone and iPad... do you mean with regard to screen sizes? I'm not sure. Maybe it is possible to set the rect of the stack to the screenRect. I haven't tried this yet. There is an option in the standalone settings that lets you make apps that run on both iPhones and iPads.
Kind regards,
Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode
Re: depolyment to ipad & iphone?
Yeah, this is what I expected, that it would center.Mark wrote:Hi Jay,
Just make the app for iPhone only and it will appear centered on your iPad. If you make it for iPad, then LiveCode will draw a big window and place your app in the top-right.
I did make it for the iphone, and when loaded on the ipad, it displays in the top left corner of the screen.
(Livecode 5.x, iOS 5.x on the ipad)
Very strange.
Maybe I have "something" on one of the cards that is forcing this justification to the left?
Re: depolyment to ipad & iphone?
Hi,
I can't imagine that it is something in your code. I wouldn't know how.
I just did a test with an app that was made for iPhone. It is displayed centered in the iPad simulator.
Keep in mind that I built a standalone for iPhone --not iPad or universal.
Kind regards,
Mark
I can't imagine that it is something in your code. I wouldn't know how.
I just did a test with an app that was made for iPhone. It is displayed centered in the iPad simulator.
Keep in mind that I built a standalone for iPhone --not iPad or universal.
Kind regards,
Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode
Re: depolyment to ipad & iphone?
A iPhone Developer Certificate: this is installed on your development machine and is used to digitally sign the application you wish to put onto an iPhoneOS device. Follow the instructions on the Certificates tab of the iPhone Developer Program Portal.
Re: depolyment to ipad & iphone?
Thanks all.. the "for iphone only" was the ticket.. it is now centered in the screen when shown on an iPad.