I am resolving this issue by setting the iOS version to 6.0.1 in mx.utils.LegacyMobileThemeOverride class. This enables us to force legacy Flex Mobile theme and at the same time allow us to specify the osStatusBarHeight value based on this particular iOS version.
It's definitely a hack. Can someone think of a better solution? Here is the current fix: http://git-wip-us.apache.org/repos/asf/flex-sdk/commit/e427e0ea Thanks, Om ---------- Forwarded message ---------- From: OmPrakash Muppirala (JIRA) <j...@apache.org> Date: Mon, Feb 16, 2015 at 1:15 PM Subject: [jira] [Commented] (FLEX-34714) Fix to continue using legacy mobile theme removes iOS status bar padding To: iss...@flex.apache.org [ https://issues.apache.org/jira/browse/FLEX-34714?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14323308#comment-14323308 ] OmPrakash Muppirala commented on FLEX-34714: -------------------------------------------- Any ideas how to fix this? One way is to hack in a special version for legacy skins in iOS (Ex. 6.0.1) and specify osStatusBarHeight for each of the supported DPIs. Any other better ideas? > Fix to continue using legacy mobile theme removes iOS status bar padding > ------------------------------------------------------------------------ > > Key: FLEX-34714 > URL: https://issues.apache.org/jira/browse/FLEX-34714 > Project: Apache Flex > Issue Type: Bug > Components: Mobile: IOS Theme > Affects Versions: Apache Flex 4.14.0 > Environment: iOS > Reporter: Lee Burrows > Assignee: OmPrakash Muppirala > > Including the class mx.utils.LegacyMobileThemeOverride in an iOS project (to use spark mobile theme) results in no padding for iOS status bar (presumably because it changes the os version property in the Platform class). > Ref: https://cwiki.apache.org/confluence/pages/viewpage.action?pageId=50856172 -- This message was sent by Atlassian JIRA (v6.3.4#6332)