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

Ronny Schleicher updated CB-11614:
----------------------------------
       Priority: Critical  (was: Major)
    Description: 
(just in progress)
h3. Step to reproduce

h4. 1. create a new fresh cordova app on your iMAC
{code}
cordova create PhoneGap_ios de.test.test Test

cd PhoneGap_ios

cordova platform add ios --save

cordova plugin add cordova-plugin-device-motion
cordova plugin add cordova-plugin-device-orientation
cordova plugin add cordova-plugin-network-information
cordova plugin add cordova-plugin-device
cordova plugin add cordova-plugin-splashscreen
cordova plugin add cordova-plugin-console
cordova plugin add cordova-plugin-statusbar

cordova plugin ls
{code}

h4. 2. open the x-code project an enable in the project all orientations
Targets -> Test -> General -> Deployment Info -> Device Orientation -> check 
all orientations 

h4. 3. set a breakpoint in follow method 
{code:title=MainViewController.m|borderStyle=solid}
- 
(BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation
{
    // Return YES for supported orientations
    return [super shouldAutorotateToInterfaceOrientation:interfaceOrientation];
}
{code}


  was:
(just in progress)
h3. Step to reproduce

h4. 1. create a new fresh cordova app on your iMAC
{code}
cordova create PhoneGap_ios de.test.test Test

cd PhoneGap_ios

cordova platform add ios --save

cordova plugin add cordova-plugin-device-motion
cordova plugin add cordova-plugin-device-orientation
cordova plugin add cordova-plugin-network-information
cordova plugin add cordova-plugin-device
cordova plugin add cordova-plugin-splashscreen
cordova plugin add cordova-plugin-console
cordova plugin add cordova-plugin-statusbar

cordova plugin ls
{code}

h4. 2 open the x-code project an enable in the project all orientations
Targets -> Test -> General -> Deployment Info -> Device Orientation -> check 
all orientations 



        Summary: On iOS the Objectiv-C method 
'shouldAutorotateToInterfaceOrientation' is never called during/after a device 
rotation  (was: The Methode shouldAutorotateToInterfaceOrientation is never 
called during/after a device rotation)

> On iOS the Objectiv-C method 'shouldAutorotateToInterfaceOrientation' is 
> never called during/after a device rotation
> --------------------------------------------------------------------------------------------------------------------
>
>                 Key: CB-11614
>                 URL: https://issues.apache.org/jira/browse/CB-11614
>             Project: Apache Cordova
>          Issue Type: Bug
>    Affects Versions: 4.2.0
>         Environment: * iMAC with OS X El Capitan Version 10.11.5
> * X-Code Version 7.3 (7D175)
> * iPhone 4S with iOS 9.3.3
> * Latest Version of Cordova 4.2.0
>            Reporter: Ronny Schleicher
>            Priority: Critical
>
> (just in progress)
> h3. Step to reproduce
> h4. 1. create a new fresh cordova app on your iMAC
> {code}
> cordova create PhoneGap_ios de.test.test Test
> cd PhoneGap_ios
> cordova platform add ios --save
> cordova plugin add cordova-plugin-device-motion
> cordova plugin add cordova-plugin-device-orientation
> cordova plugin add cordova-plugin-network-information
> cordova plugin add cordova-plugin-device
> cordova plugin add cordova-plugin-splashscreen
> cordova plugin add cordova-plugin-console
> cordova plugin add cordova-plugin-statusbar
> cordova plugin ls
> {code}
> h4. 2. open the x-code project an enable in the project all orientations
> Targets -> Test -> General -> Deployment Info -> Device Orientation -> check 
> all orientations 
> h4. 3. set a breakpoint in follow method 
> {code:title=MainViewController.m|borderStyle=solid}
> - 
> (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation
> {
>     // Return YES for supported orientations
>     return [super 
> shouldAutorotateToInterfaceOrientation:interfaceOrientation];
> }
> {code}



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to