I discovered in CSS Media specs the 'min' and 'max' operators, so IOS version 
categories are not needed anymore.

I have added a new css media property called 'os-version' of type Number.

And this is how to condition styles for IOS6 and IOS7:

ISO6:  
@media (os-platform: 'IOS') and (max-os-version: 6.5)

IOS7:
@media (os-platform: 'IOS') and (min-os-version: 7.0)

It would work the same for Android...

Maurice 

-----Message d'origine-----
De : Maurice Amsellem [mailto:maurice.amsel...@systar.com] 
Envoyé : samedi 30 novembre 2013 16:11
À : dev@flex.apache.org
Objet : RE: IOS7 status bar management ( FLEX-33860)

Back to this issue.

I am working on adding os-version capability to MediaQueryParser.

My first intention was to implement it that way:
os-version >= 7.0

But it appears that CSS Media only support equality operator ( : ) , so version 
should be a category rather than a figure.

For  iOS, it would be more like :

os-version: 'ios6-' | 'ios7+' 

ios6- = ios 6 or less
ios7+ = ios 7 or more

(until Apple decides to change its ios design again :-( ) . 

For Android, what would be the relevant classes ?

Regards,

Maurice 

-----Message d'origine-----
De : omup...@gmail.com [mailto:omup...@gmail.com] De la part de OmPrakash 
Muppirala Envoyé : dimanche 3 novembre 2013 21:36 À : dev@flex.apache.org Objet 
: Re: IOS7 status bar management ( FLEX-33860)


Reply via email to