GLBasic forum

Main forum => GLBasic - en => Topic started by: dijster on 2011-Mar-22

Title: Universal App
Post by: dijster on 2011-Mar-22
Is it possible in GLBasic to create a universal app that runs on both the iPad and iPhone?

I tried searching, but couldn't find anything
Thanks
Title: Re: Universal App
Post by: Kitty Hello on 2011-Mar-22
Yes, sure. That's an option in the XCode project. In GLBasic set the platform options/screen resolution to the iPad resolution and check the returned size with GETSCREENSIZE. That way you can support iPad, iPhone and retina display.
Title: Re: Universal App
Post by: dijster on 2011-Mar-22
Thanks, Didn't think it would be that easy
Title: Re: Universal App
Post by: Albert on 2011-Mar-29
And what iPhone SDK need to this? I'm still using 3.1.3 if I remember correctly.
Title: Re: Universal App
Post by: Kitty Hello on 2011-Mar-30
It's OK. I support everything down to 3.0 I think.
Title: Re: Universal App
Post by: Albert on 2011-Mar-30
I googled all the net and I can't found info about that if I compile with iPhone SDK 3.1.2 then I can target iPhone 4 and iPad, or I need a new SDK?
Title: Re: Universal App
Post by: Kitty Hello on 2011-Mar-30
You need a new SDK. It's always wise to upgrade.