[TIMOB-18544] iOS: ImageView not keeping aspect ratio after rotation
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | n/a |
Status | Open |
Resolution | Unresolved |
Affected Version/s | Release 3.5.0 |
Fix Version/s | n/a |
Components | n/a |
Labels | AspectRatio, border, imageView, ios |
Reporter | Aviram Zagorie |
Assignee | Unknown |
Created | 2015-02-09T09:18:12.000+0000 |
Updated | 2018-02-28T19:54:51.000+0000 |
Description
After rotation, imageView.getSize().width and imageView.getSize().height don't keep the image's aspect ratio. This can also be seen with the border around the image. To make things more confusing, the behavior is different per image (see red border in screen shots).
Attachments
File | Date | Size |
---|---|---|
iOS Simulator Screen Shot Feb 9, 2015, 1.06.13 AM.png | 2015-02-09T09:18:12.000+0000 | 255849 |
iOS Simulator Screen Shot Feb 9, 2015, 1.06.34 AM.png | 2015-02-09T09:18:12.000+0000 | 371148 |
iOS Simulator Screen Shot Feb 9, 2015, 1.12.03 AM.png | 2015-02-09T09:18:12.000+0000 | 1077378 |
iOS Simulator Screen Shot Feb 9, 2015, 1.12.07 AM.png | 2015-02-09T09:18:12.000+0000 | 677902 |
index.xml -------------