Universal App

Previous topic - Next topic

dijster

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

Kitty Hello

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.

dijster

Thanks, Didn't think it would be that easy

Albert

And what iPhone SDK need to this? I'm still using 3.1.3 if I remember correctly.

Kitty Hello

It's OK. I support everything down to 3.0 I think.

Albert

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?

Kitty Hello

You need a new SDK. It's always wise to upgrade.