Pin top left corner of UIImageView with autoresize mask
The X is an image view, with parent UIScrollView. The X content mode is
set to Aspect Fit.
4 inch
______
| |
| |
|X |
|____|
When I switch between 4 inch to 3.5 inch display I want X to be pinned in
the top left corner. Therefore, to my understanding I try to set the
autoresize masks as following:
Now what happens instead, is that the X is pushed more to the centre. I
would assume this is due to the fact that Aspect Fit tries to preserve
ratio.
3.5 inch
______
| |
| X |
|____|
Is it possible to achieve this?
No comments:
Post a Comment