[TIMOB-17738] iOS8: Ti.Ui.iPad.createSplitWindow shows blank screen when orientation is changed
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Medium |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2014-09-26T18:32:57.000+0000 |
Affected Version/s | Release 3.4.0 |
Fix Version/s | Release 3.4.0, Release 3.5.0 |
Components | iOS |
Labels | ios8, qe-3.4.0 |
Reporter | Muhammad Dadu |
Assignee | Vishal Duggal |
Created | 2014-09-23T00:00:25.000+0000 |
Updated | 2014-11-21T20:21:06.000+0000 |
Description
SDK 3.4.0.GA - iPad 2 iOS8
Blank screen comes up when rotating the window.
The code was taken from the documentation which can be found here. http://docs.appcelerator.com/titanium/latest/#!/api/Titanium.UI.iPad.SplitWindow
Attachments
File | Date | Size |
---|---|---|
app.js | 2014-09-24T00:11:35.000+0000 | 767 |
tiUiIpadSplitWindowBlackscreen.mov | 2014-09-23T00:00:25.000+0000 | 3821520 |
Issue can be reproduced on: Mac OSX 10.9.4 Appcelerator Studio, build:3.4.0.201409161950 Titanium SDK build: 3.4.0.v20140922135716 Titanium CLI, build: 3.4.0-rc4 Alloy: 1.5.0-rc3 Xcode6.0.1 iPad4 (8.0) Using the attached app.js when an iOS8 iPad is rotated the screen goes black and the app does not show even when rotated back to portrait. The code works as expected on an iOS7 device.
Steps to reproduce
1. Add the app.js to a project and build to an iOS8 iPad device or simulator. 2. When in portrait mode rotate the device/sim to landscape. *Notes* If the app is launched in landscape then the splitWindow is displayed fine. However if the device is then rotated to portrait and back to landscape it black screens. If the view is shown using the popover obtained by tapping the 'Master' button in the nav bar then when the device is rotated then the splitWindow is shown successfully and the app does not crash.Pull pending master - https://github.com/appcelerator/titanium_mobile/pull/6169 3_4_X - https://github.com/appcelerator/titanium_mobile/pull/6170
Verified fix on: Mac OSX 10.9.4 Appcelerator Studio, build: 3.4.0.201409231834 Titanium SDK build: 3.4.0.v20140925154326 Titanium CLI, build: 3.4.0-rc4 Alloy: 1.5.0-rc5 Xcode6.0.1 iPad4 (8.0) Opened app in portrait and rotated to landscape, when the iPad is rotated the app no longer black screens and the iPad split window is shown. Closing ticket.