Author Topic: Universal App  (Read 2582 times)

Offline dijster

  • Mc. Print
  • *
  • Posts: 23
    • View Profile
Universal App
« 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

Offline Kitty Hello

  • code monkey
  • Administrator
  • Prof. Inline
  • *******
  • Posts: 10766
  • here on my island the sea says 'hello'
    • View Profile
    • http://www.glbasic.com
Re: Universal App
« Reply #1 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.

Offline dijster

  • Mc. Print
  • *
  • Posts: 23
    • View Profile
Re: Universal App
« Reply #2 on: 2011-Mar-22 »
Thanks, Didn't think it would be that easy

Offline Albert

  • Dr. Type
  • ****
  • Posts: 257
    • View Profile
    • Blog
Re: Universal App
« Reply #3 on: 2011-Mar-29 »
And what iPhone SDK need to this? I'm still using 3.1.3 if I remember correctly.

Offline Kitty Hello

  • code monkey
  • Administrator
  • Prof. Inline
  • *******
  • Posts: 10766
  • here on my island the sea says 'hello'
    • View Profile
    • http://www.glbasic.com
Re: Universal App
« Reply #4 on: 2011-Mar-30 »
It's OK. I support everything down to 3.0 I think.

Offline Albert

  • Dr. Type
  • ****
  • Posts: 257
    • View Profile
    • Blog
Re: Universal App
« Reply #5 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?

Offline Kitty Hello

  • code monkey
  • Administrator
  • Prof. Inline
  • *******
  • Posts: 10766
  • here on my island the sea says 'hello'
    • View Profile
    • http://www.glbasic.com
Re: Universal App
« Reply #6 on: 2011-Mar-30 »
You need a new SDK. It's always wise to upgrade.