Titanium JIRA Archive
Alloy (ALOY)

[ALOY-1536] iPad Splash Screen Orientation - No Landscape

GitHub Issuen/a
TypeBug
PriorityMedium
StatusClosed
ResolutionFixed
Resolution Date2017-01-25T08:44:05.000+0000
Affected Version/sn/a
Fix Version/sRelease 6.1.0, alloy 1.9.6
ComponentsTitanium SDK
Labelsios, ipad, splash-screen
ReporterBryant T.
AssigneeHans Knöchel
Created2017-01-20T01:29:57.000+0000
Updated2017-01-25T22:24:48.000+0000

Description

This one is pretty simple. Create a generic new alloy project and, and edit the trap.xml file like so: false ... UISupportedInterfaceOrientations~ipad UIInterfaceOrientationLandscapeRight LandscapeLeft won't work either. When the app is launched, the splash screen will appear in portrait mode.

Attachments

FileDateSize
test_landscape.zip2017-01-20T10:32:15.000+00007965821

Comments

  1. Hans Knöchel 2017-01-20

    Works for me. Download, unzip and run the attached app (e.g. ti build -p ipad from the console) and see the splashscreen working properly. Please also validate the tiapp settings.
  2. Sharif AbuDarda 2017-01-20

    Hello, I also tested in SDK 6.0.1.GA. Works for me too.
  3. Bryant T. 2017-01-20

    Your zip file works great, but t's not an *Alloy* project. I would attach my generic Alloy project as a zip, but it exceeds the file size limits @ 125.9mb. :(
  4. Sharif AbuDarda 2017-01-23

    Hello, attach it to dropbox and provide the link here.
  5. Bryant T. 2017-01-24

    [https://www.dropbox.com/s/v002vjp5nz16zhn/DefaultAlloyTest.zip?dl=0]
  6. Hans Knöchel 2017-01-24

    Thanks Bryant. I just downloaded and cleaned up the project. You included the build folder, making the zip way too big. It's 10 MB now. After a quick check, I noticed that you use a space in your project name, that could possibly cause the issue. [~sdarda] Here is the same project, but cleaned up - to verify: https://www.dropbox.com/s/zqp7idginp4bgap/AC-4747-Default_Test.zip?dl=1 P.S.: I am able to reproduce the issue with that setup. *EDIT*: The spaces do not affect it. The splash screen sizes are corrupt, hah! - 2048x1496 should be 2048x1536 - 1014x768 should be 1024x768 Will investigate the required changes. Fixing the sizes fixes the issue. Thx for reporting man!
  7. Hans Knöchel 2017-01-24

    PR: https://github.com/appcelerator/alloy/pull/811 This will also reduze this size of the hires splash-screens (mostly \@3x-files) by at least a half, using a better image compression.
  8. Feon Sua Xin Miao 2017-01-25

    [~hansknoechel] what's the fixed version for this?
  9. Hans Knöchel 2017-01-25

    [~fmiao] We thought about putting it into 6.0.2, but to ease the deployment and due to the fact that the "fix" is really simple on the client-side, it will go into 6.1.0. I updated the fixVersion to incorporate that. Thx!
  10. Feon Sua Xin Miao 2017-01-25

    [~hansknoechel], correct me if I'm wrong. This means we'll also release appc-cli@6.2.0 with Release 6.1.0?
  11. Hans Knöchel 2017-01-25

    [~fmiao] We currently don't have CLI tickets in the 6.0.2 milestone. Please feel free to ping [~emerriman] about the exact planning.
  12. Lee Morris 2017-01-25

    Can verify this fix, tested on both Simulator and device and it worked fine. Tested on; iPad (10.2) and Simulator (10.2) MacOS 10.11.6 (15G31) Studio 4.8.1.201612050850 Ti SDK 6.1.0.v20170125103400 Appc NPM 4.2.8 Appc CLI 6.2.0-12 Ti CLI 5.0.11 Alloy 1.9.6 Arrow 1.10.2 Xcode 8.2 (8C38) Node v4.6.0 Java 1.7.0_80

JSON Source