flex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Maurice Amsellem <maurice.amsel...@systar.com>
Subject RE: IOS7 status bar management ( FLEX-33860)
Date Fri, 14 Feb 2014 10:45:24 GMT
>is it recommended to go online with the 4.12.0 SDK ? I mean to update my application to
Apple store and Google android store with 4.12 SDK ?
4.12 RC1, as it's name implies, is not a final release, and it may coming residual bugs.
You can decide to use it on the AppStore, but it's under your own responsibility.

If you want to stay on 4.11 with custom skin, this is how it's done in 4.12 ViewNavigatorApplicationSkin:

https://github.com/apache/flex-sdk/blob/develop/frameworks/projects/mobiletheme/src/spark/skins/mobile/ViewNavigatorApplicationSkin.as

Look at the code in layoutContents

Maurice 

-----Message d'origine-----
De : Rami Tarabay [mailto:rtarabay@codefish.com] 
Envoyé : vendredi 14 février 2014 11:06
À : dev@flex.apache.org
Objet : Re: IOS7 status bar management ( FLEX-33860)

Hi,

Thanks for your reply.

I can get the 4.12.0 RC1(dev use only), but is it recommended to go online with the 4.12.0
SDK ? I mean to update my application to Apple store and Google android store with 4.12 SDK
?.

Extending ViewNavigatorApplicationSkin it is already done.

I am overriding drawBackground function to add landscape Background image, portrait Background
image, busy Indicator and popUp.

I have tried to setStyle("paddingTop") inside the drawBackground function and did not work.

I did the override to the function createChildren and setStyle to
navigator: navigator.setStyle("paddingTop",40) and did not work.

Any suggestions ?

Best,


On Fri, Feb 14, 2014 at 11:02 AM, Maurice Amsellem < maurice.amsellem@systar.com> wrote:

> Hi Rami,
>
> If you can get the 4.12 SDK nightly, iOS7 status bar is managed 
> automatically.
>
> If you can't:
> Regarding your code below, it does not work because everything happens 
> in the skin (ViewNavigatorApplicationSkin), so it's there where you 
> should shift your view.
> So make a custom skin, and shift the content  (navigator skinPart).
>
> HTH
>
> Maurice
>
> -----Message d'origine-----
> De : Rami Tarabay [mailto:rtarabay@codefish.com] Envoyé : vendredi 14 
> février 2014 09:49 À : dev@flex.apache.org Objet : Re: IOS7 status bar 
> management ( FLEX-33860)
>
> Hi,
>
> I'm using flex 4.11 SDK with adobe air 4.0 and flash player 12.0 I'm 
> trying to paddingTop my entire ViewNavigatorApplication on 
> creationComplete or on drawbackground and it is not working.
>
> protected function
> abstractmainview1_creationCompleteHandler(event:FlexEvent):void
> {
>     var osInfo:Array = Capabilities.os.split(" ");
>   var versionNumber:Number = parseFloat(osInfo[2]);
>
>   if(versionNumber >= 7) {
> var t:Number = height>=960 ? 40 : 20;
> // setStyle("top",t);
>         setStyle("paddingTop",t);
>
> }
> }
>
> Any workaround ?!
>
>
> On Tue, Dec 3, 2013 at 3:18 AM, Maurice Amsellem < 
> maurice.amsellem@systar.com> wrote:
>
> > Thanks
> >
> > -----Message d'origine-----
> > De : Justin Mclean [mailto:justin@classsoftware.com] Envoyé : mardi 
> > 3 décembre 2013 01:33 À : dev@flex.apache.org Objet : Re: IOS7 
> > status bar management ( FLEX-33860)
> >
> > Hi,
> >
> > I think the proposed solution is a good compromise, we need to be 
> > able to support iOS7, and as noted other framework are also having 
> > this exact same issue. It's almost like Apple only wants you to only 
> > write native apps :-)
> >
> > > The main and simple reason for that is am physically exhausted.
> > Feel free to take a break or go  slow for a while, you don't have to 
> > fix something every day. Plus it makes the rest of us look lazy :-)
> >
> > Thanks,
> > Justin
> >
> >
>
>
> --
>
> Kind Regards,
>
>
>  Rami Tarabay
>
>
>
> Mobile App Developer | Codefish Apps | www.codefish.com
>
> t +961 5 450824 | m +961 70 170857
>



-- 

Kind Regards,


 Rami Tarabay



Mobile App Developer | Codefish Apps | www.codefish.com

t +961 5 450824 | m +961 70 170857

Mime
View raw message