Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-20359] iOS: iPhone 6 platformWidth invalid

GitHub Issuen/a
TypeBug
PriorityCritical
StatusClosed
ResolutionCannot Reproduce
Resolution Date2016-02-11T16:16:11.000+0000
Affected Version/sn/a
Fix Version/sn/a
Componentsn/a
Labelsn/a
ReporterØyvind Heggernes
AssigneeHans Knöchel
Created2016-02-04T12:50:38.000+0000
Updated2016-02-11T16:19:38.000+0000

Description

Steps to Reproduce

Building with SDK 5.2.0

Actual Result

Ti.Platform.displayCaps.platformWidth shows 320

Expected Result

Ti.Platform.displayCaps.platformWidth should give 375

Attachments

FileDateSize
.log2016-02-04T12:50:44.000+0000623289
diagnostic3166540190432402948.log2016-02-04T12:50:50.000+0000104037

Comments

  1. Hans Knöchel 2016-02-07

    [~heggern] Can you please provide more infos? Does it only happen on the device or the simulator? Which iOS do you test with? The attached logs are studio logs, no app logs, so we cannot get much information from there.
  2. Øyvind Heggernes 2016-02-07

    It happens both on the device (several devices) and on the simulator. Tested with iOS 9.2. All splash screens are present and with the correct file name.
  3. Hans Knöchel 2016-02-08

    Please attach an example project which we can run. The Ti.Platform.displayCaps properties are definitely working and haven't been touched for years. Also I'm not sure how the splashscreen related to the above mentioned properties. Please give us some more context. AND: Does everyting work in 5.1.2.GA?
  4. Øyvind Heggernes 2016-02-11

    Hi. I don't its something wrong with the platform width. When building with 5.2.0 I don't get the iPhone 6 resolution, but the iPhone 5 resolution. It looks just like the app is in a zoom view. Most likely the 5.2.0 build ignores the splash file for iPhone 6. Or looking for another name
  5. Hans Knöchel 2016-02-11

    I tested the issue with the latest 5_2_X branch and iOS 8.3, 8.4, 9.0 and 9.2. It is not reproducible, so we are closing this issue for now. If you have a reproducible test case, feel free to comment and we will take a closer look again.
  6. Hans Knöchel 2016-02-11

    Commented above just as you answered. Your issue is (very) known to be caused by invalid file names / dimensions of your splash screens. Please create an empty project and compare the sizes and file names with your ones and export the splash screens again to make your its not caused by an alpha channel / file format issue.

JSON Source