clipping to bounds with UIViewContentModeScaleAspectFill
is there any way of controlling where开发者_运维知识库 UIViewContentModeScaleAspectFill clips an image? In my case, images are always clipped around the center of the image. Is it possible to make it clip around the top?
Thanks!
Antonio
The current implementation of UIViewContentModeScaleAspectFill
is indeed to center the image as you pointed out, to my knowledge there's no way of altering this behavior.
精彩评论