I just noticed that if I launch my app, minimize it to make a call, and then
maximize it while staying on the call, that the enlarged "call in use"
statusbar of iOS pans my app content downward, making some of my buttons
difficult to interact with because they are at the bottom of my view. I
tested this a little further and found that if I make a call first, then
launch the app fresh(not from minimized state), that the app will load and
use the available screen space beneath the enlarged statusbar and position
content without being pushed off screen. But when the person on the other
line terminates the call, the statusbar returns to a normal height, pulling
the app content upward, creating a gap at the bottom.

I compared the experience of my flex app to other professionally made apps
on my phone. All of the other apps resize their content to use the visible
screen beneath the enlarged "call in use" statusbar.

Expected behavior: app should resize to use visible screen space while
iphone displays "call in use" statusbar, allowing content to reposition
based on visible screen size

I found an old bug for the "hot spot" statusbar @
https://bugbase.adobe.com/index.cfm?event=bug&id=3621841

A phonegap user had similar issue as I do with flex/air with "call in use"
statusbar  @
http://stackoverflow.com/questions/3947226/iphone-how-to-resize-view-when-call-status-bar-is-toggled?lq=1

Just to be thorough, I tested out a fresh app using the latest nightly
flex15 and air17 and experienced the same results. Tested on iphone 5c ios
8.1 using the following simple app code:

<?xml version="1.0" encoding="utf-8"?>
<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"; 
                           xmlns:s="library://ns.adobe.com/flex/spark" 
applicationDPI="160"
backgroundColor="0xFFFF00">
        <s:Rect width="100%" height="100%" radiusX="40" radiusY="40">
                <s:fill>
                        <s:SolidColor color="0xFF0000"/>
                </s:fill>
        </s:Rect>
</s:Application>

Any thoughts on this? Is there a setting or style that I can target to
prevent my view from panning off screen?



--
View this message in context: 
http://apache-flex-development.2333347.n4.nabble.com/flex-air-does-not-resize-app-when-call-in-use-statusbar-showing-on-iphone-tp45391.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.

Reply via email to