Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-17738] iOS8: Ti.Ui.iPad.createSplitWindow shows blank screen when orientation is changed

GitHub Issuen/a
TypeBug
PriorityMedium
StatusClosed
ResolutionFixed
Resolution Date2014-09-26T18:32:57.000+0000
Affected Version/sRelease 3.4.0
Fix Version/sRelease 3.4.0, Release 3.5.0
ComponentsiOS
Labelsios8, qe-3.4.0
ReporterMuhammad Dadu
AssigneeVishal Duggal
Created2014-09-23T00:00:25.000+0000
Updated2014-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

FileDateSize
app.js2014-09-24T00:11:35.000+0000767
tiUiIpadSplitWindowBlackscreen.mov2014-09-23T00:00:25.000+00003821520

Comments

  1. Ewan Harris 2014-09-24

    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.
  2. Vishal Duggal 2014-09-25

    Pull pending master - https://github.com/appcelerator/titanium_mobile/pull/6169 3_4_X - https://github.com/appcelerator/titanium_mobile/pull/6170
  3. Ewan Harris 2014-09-25

    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.

JSON Source