[TIMOB-17658] iOS8: Orientation locked in portrait when returning from image capture and rotating the iPad device
GitHub Issue | n/a |
Type | Bug |
Priority | High |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2014-09-26T18:39:54.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Release 3.4.0, Release 3.5.0 |
Components | iOS |
Labels | n/a |
Reporter | Eduardo Gomez |
Assignee | Pedro Enrique |
Created | 2014-09-09T15:52:51.000+0000 |
Updated | 2014-11-21T20:27:56.000+0000 |
Description
Issue description
Orientation locked in portrait when returning from image capture and rotating the iPad device
Steps to reproduce
Please use the sample attached.
Launch the app in Landscape mode with the Home button on the right
Rotate the app around, notice the UI changes to reflect the orientation correctly.
Get it back into landscape mode.
Click Launch Camera
Click the (X) button and then immediately rotate the tablet to portrait up or portrait down.
Notice that the image capture view will close but then the app gets skewed into an akward orientation. (Seems to be in portrait but its in landscape orientation. See the attached screenshot called iPad_RDC_Oreintation_Akward.png.)
Keep rotating the device, notice that you cannot get the app back on screen fully. The app is now stuck in this orientation state.
Attachments
[~jrhinehart], please add test results when time allows you. Thanks. Case 00002640 Ref: https://na10.salesforce.com/500F000000QR2G4
[~egomez] Does this need to be a private issue? Also, can we please have a simple test case?
[~jalter] to review.
As a work-a-round, we are detecting that it is running on iOS 8 and locking the app in portrait mode.
From Michael Potter: Attached is a sample program (TestProject.zip) that demonstrates a suspected bug in iOS8 that does not happen in iOS7. The bug is demonstrated in step 15 and 16. 1) unzip the package 2) cd TestProject 3) ti build --platform ios 4) expect to see 'Project failed to build' 5) start xcode 6 6) open the project in the build/iphone/ folder 7) change to a universal app 8) connect ipad running iOS 8 9) push app to ipad using run button 10) expect app to start on its own 11) Hold ipad in portrait mode 12) tap "Take a Photo" button 13) note that while moving ipad side to side the display moves consistent with motion of iPad 14) rotate ipad to landscape 15) While rotating: note that camera display is INCONSISTENT with rotation. 16) After rotation: note that while moving side to side ipad the display moves INCONSISTENT with motion of iPad
This was fixed in TIMOB-17662 There is a new property that needs to added called
autoRotate
and set to falseVerified in the following environment : Appcelerator Studio, build: 3.4.0.201409161950 CLI: 3.4.0-rc3 Alloy: 1.5.0-rc2 Code processor: 1.1.1 SDK: 3.4.0.v20140916151649 Mac OSX version 10.9.4 Xcode: Xcode 6 GM seed