[ 
https://issues.apache.org/jira/browse/CB-7596?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14139623#comment-14139623
 ] 

ASF subversion and git services commented on CB-7596:
-----------------------------------------------------

Commit b06ca8db4288f47e99f32294080106884e236d47 in cordova-ios's branch 
refs/heads/master from Clafou
[ https://git-wip-us.apache.org/repos/asf?p=cordova-ios.git;h=b06ca8d ]

CB-7596 - [iOS 8] CDV_IsIPhone5() Macro needs to be updated because screen size 
is now orientation dependent

iOS8 introduces a change to screen orientation, making [UIScreen
bounds] orientation-dependent. Testing for the iPhone5 screen
resolution now needs to account for landscape (568x320) in addition to
portrait (320x568).

Details at
http://stackoverflow.com/questions/24150359/is-uiscreen-mainscreen-bound
s-size-becoming-orientation-dependent-in-ios8

Signed-off-by: Shazron Abdullah <[email protected]>


> [iOS 8] CDV_IsIPhone5() Macro needs to be updated because screen size is now 
> orientation dependent
> --------------------------------------------------------------------------------------------------
>
>                 Key: CB-7596
>                 URL: https://issues.apache.org/jira/browse/CB-7596
>             Project: Apache Cordova
>          Issue Type: Sub-task
>          Components: iOS
>            Reporter: Shazron Abdullah
>            Assignee: Shazron Abdullah
>             Fix For: 3.7.0
>
>
> UIScreen is now orientation dependent in iOS 8:
> http://stackoverflow.com/questions/24150359/is-uiscreen-mainscreen-bounds-size-becoming-orientation-dependent-in-ios8
> If phone is 320x480 (w x h) portrait
> in iOS 7, the (w x h) in landscape is 320x480.
> Now in iOS 8, the (w x h) in landscape is 480x320



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to