对于我的UIImageView我选择了Aspect Fit(InterfaceBuilder),但是如何更改垂直对齐?
iphone cocoa-touch interface-builder
对于a UIImageView,我使用的是方面填充内容模式.没关系,但是对于某些图像,它会从顶部剪切,因为我使用过clipsToBounds = true.所以这就是我想要的:我想让两个过滤器同时处于活动状态,例如:
UIImageView
clipsToBounds = true
这是我设置为纵横填充的图像视图:
...和我设置的图像视图contentMode = .top:
contentMode = .top
所以我想合并这两种内容模式.可能吗?提前致谢.
image ios
cocoa-touch ×1
image ×1
interface-builder ×1
ios ×1
iphone ×1