You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cordova.apache.org by "Shazron Abdullah (Resolved) (JIRA)" <ji...@apache.org> on 2012/02/08 01:21:03 UTC

[jira] [Resolved] (CB-221) On an orientation change, the orientationchange event not fired on iOS 3 and 4 (it is however fired on iOS 5)

     [ https://issues.apache.org/jira/browse/CB-221?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Shazron Abdullah resolved CB-221.
---------------------------------

    Resolution: Fixed
    
> On an orientation change, the orientationchange event not fired on iOS 3 and 4 (it is however fired on iOS 5)
> -------------------------------------------------------------------------------------------------------------
>
>                 Key: CB-221
>                 URL: https://issues.apache.org/jira/browse/CB-221
>             Project: Apache Callback
>          Issue Type: Bug
>          Components: iOS
>    Affects Versions: 1.4.0
>         Environment: Mac OS X Version 10.6.8. xCode 4.2. Sencha Touch 1.1
>            Reporter: Adam Arsenault
>            Assignee: Shazron Abdullah
>            Priority: Blocker
>              Labels: iOS4, patch
>             Fix For: 1.5.0
>
>         Attachments: Landscape iOS 4.png, Landscape iOS 5.png, Portrait iOS 4.png, Portrait iOS 5.png, TestOrientation.zip
>
>
> I am using Sencha Touch 1.1 inside Phonegap 1.4.1 and the recent iOS orientation change fix works for me when using the iPhone 5.0 simulator but DOES NOT work as expected for me in older simulators like 4.2 or 4.3.
> Debugging Info:
> I am noticing that when using the older simulators, ie 4.2, 4.3 the inner web view does not seem to resize to the full width. I attached an on window resize event inside my app and for both portrait and landscape orientations, the width is 320 instead of being 320 for portrait and 480 for landscape. The height does change though. I am seeing 300 for landscape and 460 for portrait.
> I upgraded from phonegap 1.0 today and this was working as expected in 1.0.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira