[AC-1905] iOS: Platform Height on iPhone 5
GitHub Issue | n/a |
Type | Bug |
Priority | n/a |
Status | Closed |
Resolution | Invalid |
Resolution Date | 2012-10-01T22:08:37.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | Titanium SDK & CLI |
Labels | iPhone5, ios, iphone |
Reporter | Nikhil N |
Assignee | Mauro Parra-Miranda |
Created | 2012-10-01T08:13:04.000+0000 |
Updated | 2016-03-08T07:40:49.000+0000 |
Description
Ti.Platform.displayCaps.platformHeight works as expected up to iPhone 4S (returns 460). However, on the iPhone 5, it returns (460) as well, instead of 560.
Attachments
Can you please provide a code snippet to test?
Nikhil, I believe you have not provided a Default-568h@2x.png file in the iPhone resources folder. I just tested this and Ti.Platform.displayCaps.platformHeight returns 480 without the new splash screen image, and 568 with.
I'm invalidating the issue for now, but if the problem still occurs after providing the 568h splash screen, Nikhil is welcome to ask for it to be tested further.
Using 568h splash on iPhone 5 (6.0) with SDK 2.1.3.v20120928203111 showed the appropriate size in my tests. See attached screen for simulator and device.
Closed per Eric's comments and testing with 3.1.3