Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-7043 iOS 8 Support
  3. CB-7596

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

    Details

    • Type: Sub-task
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.7.0
    • Component/s: cordova-ios
    • Labels:
      None

      Description

      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

        Attachments

          Activity

            People

            • Assignee:
              shazron Shazron Abdullah
              Reporter:
              shazron Shazron Abdullah
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: