[TIMOB-18306] Better algorithm for iOS image selection
GitHub Issue | n/a |
---|---|
Type | Improvement |
Priority | n/a |
Status | Open |
Resolution | Unresolved |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | n/a |
Labels | images, orientation |
Reporter | Fokke Zandbergen |
Assignee | Unknown |
Created | 2015-01-05T15:56:42.000+0000 |
Updated | 2018-02-28T19:55:51.000+0000 |
Description
The image selection algorithm in
TiUTils.m
under [checkFor2XImage()
](https://github.com/appcelerator/titanium_mobile/blob/master/iphone/Classes/TiUtils.m#L667) is missing selection by orientation and should fallback to other 16:9 screens before using the 3:4 defaults.
I can do a PR if you agree with the logic.