Skip to main content
iqbalpalemad
Participant
Mar 25, 2019 12:19 PM UTC
Answered

Make UI fullscreen in ios

i am beginner in action script and I have created a basic flash module using intellij idea. When i run the app in android which shows the content in full screen but when i run the same app in ios there is some blank black space on top and bottom of the screen.

This is the screen shot of view in android

This is the view in ios

Here is my ios description xml

<?xml version="1.0" encoding="utf-8" standalone="no"?>
<application xmlns="http://ns.adobe.com/air/application/32.0">

   <id>Main</id>

   <filename>Main</filename>

   <name>Main</name>

   <versionNumber>0.0.1</versionNumber>

   <versionLabel>0.01</versionLabel>

   <initialWindow>

   <content>main.swf</content>

   <aspectRatio>any</aspectRatio>

   <autoOrients>false</autoOrients>

   <renderMode>auto</renderMode>

   <fullScreen>false</fullScreen>

   <softKeyboardBehavior>pan</softKeyboardBehavior>

   </initialWindow>

   <!--<icon>-->
  <!--<image16x16>16x16.png</image16x16>-->
  <!--<image32x32>32x32.png</image32x32>-->
  <!--<image48x48>48x48.png</image48x48>-->
  <!--<image57x57>57x57.png</image57x57>-->
  <!--<image72x72>72x72.png</image72x72>-->
  <!--<image76x76>76x76.png</image76x76>-->
  <!--<image120x120>120x120.png</image120x120>-->
  <!--<image128x128>128x128.png</image128x128>-->
  <!--<image152x152>152x152.png</image152x152>-->
  <!--</icon>-->

   <supportedProfiles>mobileDevice</supportedProfiles>

   <iPhone>

   <requestedDisplayResolution>high</requestedDisplayResolution>

   <assetsCar>Assets.car</assetsCar>

   <InfoAdditions>

  <![CDATA[

  <key>UIDeviceFamily</key>

  <array>

  <!-- iPhone and iPod touch devices -->

  <string>1</string>

  <!-- iPad devices -->

  <string>2</string>

  </array>

  ]]>

   </InfoAdditions>

   </iPhone>

</application>

Now i would like to know how can i make the ui in ios also same as in android?

This topic is closed to new replies. Start a new post to keep the conversation going.
Leo KanelCorrect answer
Inspiring
Mar 25, 2019 12:24 PM UTC

You are missing the Launch Images for the device you are testing. Add the correct ones in your project, and it will be full screen.

You can find all the dimensions here:

Launch Images on iOS with Adobe AIR | Adobe Developer Connection

2 replies

Leo KanelCorrect answer
Inspiring
Mar 25, 2019 12:24 PM UTC

You are missing the Launch Images for the device you are testing. Add the correct ones in your project, and it will be full screen.

You can find all the dimensions here:

Launch Images on iOS with Adobe AIR | Adobe Developer Connection

Translate
iqbalpalemad
Participant
Mar 26, 2019 5:13 AM UTC

this is the correct answer and this is solved my issue.

Translate