Skip to main content
Participant
August 15, 2011
Question

Can an ipa support iphone and ipad at the same time

  • August 15, 2011
  • 3 replies
  • 730 views

I have a question now, can an ipa support iphone and ipad at the same time.  Is there any talents can help me.  Thanks very much!

This topic has been closed for replies.

3 replies

ipiggyAuthor
Participant
August 17, 2011

Thank you very much. For iphone, my app screen is 320x480.  How ever, what is the screen width and height for ipad?

Participating Frequently
August 17, 2011

It is 1024-by-768-pixel resolution at 132 pixels per inch (ppi). I suggest you use the stage.stageHeight and stage.stageWidth values to layout components and do not hard code these values.

Thanks,

Sanika

Inspiring
August 15, 2011

You can also set it manually in your app.xml

<iPhone>
<!-- A list of plist key/value pairs to be added to the application Info.plist -->
<InfoAdditions>
<![CDATA[
<key>UIDeviceFamily</key>
<array> <string>1</string> <string>2</string> </array>
  ]]>
  </InfoAdditions>
</iPhone>

1 = iPhone

2 = iPad

Known Participant
August 15, 2011

Yes, in Flash, click on 'Air to iOS settings' and select 'device' : iPhone and iPad.

This will make it compatible on both, but the screen ratios will be a bit different, so it's best to test out your app on

both devices.

I've written some Flash to iPad tutorials that you might find useful:

Matt

http://www.mattwasser.co.uk/articles.html