Post

Replies

Boosts

Views

Activity

contentMode on UIImageView is overriden when setting adjustsImageWhenAncestorFocussed
When I set adjustsImageWhenAncestorFocussed to true on my UIImageView (inside a collection view cell) it seems that the contentMode setting is forced to ScaleAspectFill as opposed to my desired ScaleAspectFit. Is this a bug or expected? I don't want to have to make a choice between the awesome highlight effect you get for free when enabling the image adjustment on focus, and the scale to fit content mode...
4
0
1.1k
Sep ’15