[
https://issues.apache.org/jira/browse/FLEX-33949?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13836064#comment-13836064
]
Maurice Amsellem commented on FLEX-33949:
-----------------------------------------
h4. Commit: http://git-wip-us.apache.org/repos/asf/flex-sdk/commit/e82b4504
os-version is managed on iOS and desktop OS, but not yet on Android.
*Note: os-version is not managed on Android yet*
Android os-version calculation requires to read a system file (
system/build.prop) which is more complicated to implement.
I prefered not to delay the support for the other platforms, especially iOS
which it is required for other issues (FLEX-33860).
> Manage OS version in @media CSS
> -------------------------------
>
> Key: FLEX-33949
> URL: https://issues.apache.org/jira/browse/FLEX-33949
> Project: Apache Flex
> Issue Type: New Feature
> Components: Runtime CSS
> Affects Versions: Apache Flex 4.11.0
> Reporter: Maurice Amsellem
> Assignee: Maurice Amsellem
>
> >Use case
> This would give the ability to customize the application to match the native
> OS look and feel:
> - iOS6 / iOS7 skins
> - iOS status bar
> >Specifications
> new 'os-version' media css selector of type number, returns the major and
> minor version number as a decimal figure, eg. 6.1 or 4.2
> Can be used like this for iOS6 and iOS7:
> iOS6: @media (os-platform: "ios") and ( max-os-version: 6.5)
> iOS7: @media (os-platform: "ios") and ( min-os-version: 7.0)
> Note that os-version is only accurate when run on the device.
> When run on ADL, os-version will report the host OS version the ADL is
> running on.
--
This message was sent by Atlassian JIRA
(v6.1#6144)