[TIMOB-20359] iOS: iPhone 6 platformWidth invalid
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Critical |
Status | Closed |
Resolution | Cannot Reproduce |
Resolution Date | 2016-02-11T16:16:11.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | n/a |
Labels | n/a |
Reporter | Øyvind Heggernes |
Assignee | Hans Knöchel |
Created | 2016-02-04T12:50:38.000+0000 |
Updated | 2016-02-11T16:19:38.000+0000 |
Description
Steps to Reproduce
Building with SDK 5.2.0Actual Result
Ti.Platform.displayCaps.platformWidth shows 320Expected Result
Ti.Platform.displayCaps.platformWidth should give 375Attachments
File | Date | Size |
---|---|---|
.log | 2016-02-04T12:50:44.000+0000 | 623289 |
diagnostic3166540190432402948.log | 2016-02-04T12:50:50.000+0000 | 104037 |
[~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.
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.
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?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
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.
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.