Skip to main content
November 14, 2011
Answered

Can I make universal (iPhone and iPad) app?

  • November 14, 2011
  • 1 reply
  • 1413 views

How can I make universal app that support in iPhone and iPad?

I want that the resolution will support in iPhone and iPad (HD)...

Thanks!

This topic has been closed for replies.
Correct answer Colin Holgate

You can check the Full Screen box, and select iPhone and iPad from the Device menu.

You have a choice about the stage size you use. Either have a size that is right for iPhone, and extra content above and below the stage, or have it right for iPad, and have extra content to the left and right.

These days I do that second option, because then the content works for Android devices as well. So, have a stage that is 1024x768, but include extra background graphics to the left and right of the edges of the stage. That content will then show up when you're on an iPhone, and the whole stage is scaled down to be the right size.

If you have plenty of extra background, like say 512 pixels on each side of the stage, that is enough to work for all of the current Android devices too.

1 reply

Colin Holgate
Inspiring
November 14, 2011

Can you say what program you're developing the app in? If it's Flash Pro, then the General tab of the iOS settings lets you choose whether it is to be on iPhone, iPad, or both. You can also set the resolution to High, to support Retina display.

If you're using Flash Builder, the you would edit the app descriptor xml file. Look at the iPhoneAdditions, and uncomment the lines set what devices are used.

November 14, 2011

I`m using Flash CS5.5.

But which resulation I need to do?

I want to make fullscreen iPad app and iPhone!

Colin Holgate
Colin HolgateCorrect answer
Inspiring
November 14, 2011

You can check the Full Screen box, and select iPhone and iPad from the Device menu.

You have a choice about the stage size you use. Either have a size that is right for iPhone, and extra content above and below the stage, or have it right for iPad, and have extra content to the left and right.

These days I do that second option, because then the content works for Android devices as well. So, have a stage that is 1024x768, but include extra background graphics to the left and right of the edges of the stage. That content will then show up when you're on an iPhone, and the whole stage is scaled down to be the right size.

If you have plenty of extra background, like say 512 pixels on each side of the stage, that is enough to work for all of the current Android devices too.