[TIMOB-26077] iOS: Ti.UI.convertUnits returns incorrect values for 3x resolution devices
| GitHub Issue | n/a |
|---|---|
| Type | Bug |
| Priority | Medium |
| Status | Closed |
| Resolution | Fixed |
| Resolution Date | 2018-06-08T14:37:51.000+0000 |
| Affected Version/s | Release 7.3.0 |
| Fix Version/s | Release 7.5.0 |
| Components | iOS |
| Labels | n/a |
| Reporter | Christopher Williams |
| Assignee | Christopher Williams |
| Created | 2018-05-30T14:09:14.000+0000 |
| Updated | 2018-10-23T12:54:33.000+0000 |
Description
Calls to Ti.UI.convertUnits return invalid values for 3x iOS devices. It appears to be multiplying by 2x instead under the hood.
https://github.com/appcelerator/titanium_mobile/pull/10080
*Closing ticket* Verified fix in SDK Version
7.5.0.v20181023020529. Ti.UI.convertUnits now returns the correct values for 3x resolution devices.Ti.Platform.displayCaps.logicalDensityFactornow equals 3 on 3x resolution devices. *Test Environment*