[ALOY-1536] iPad Splash Screen Orientation - No Landscape
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Medium |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2017-01-25T08:44:05.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Release 6.1.0, alloy 1.9.6 |
Components | Titanium SDK |
Labels | ios, ipad, splash-screen |
Reporter | Bryant T. |
Assignee | Hans Knöchel |
Created | 2017-01-20T01:29:57.000+0000 |
Updated | 2017-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
File | Date | Size |
---|---|---|
test_landscape.zip | 2017-01-20T10:32:15.000+0000 | 7965821 |
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.Hello, I also tested in SDK 6.0.1.GA. Works for me too.
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. :(
Hello, attach it to dropbox and provide the link here.
[https://www.dropbox.com/s/v002vjp5nz16zhn/DefaultAlloyTest.zip?dl=0]
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!
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.
[~hansknoechel] what's the fixed version for this?
[~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!
[~hansknoechel], correct me if I'm wrong. This means we'll also release appc-cli@6.2.0 with Release 6.1.0?
[~fmiao] We currently don't have CLI tickets in the 6.0.2 milestone. Please feel free to ping [~emerriman] about the exact planning.
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