【发布时间】:2019-03-09 00:46:06
【问题描述】:
是否可以在 Aspect Fit contentMode 中获取 ImageView 的高度值,该值将填充 ImageView 的宽度?
【问题讨论】:
-
你应该在these search results找到你的答案。
-
谢谢你:)你帮助了我:)
标签: ios swift image imageview height
是否可以在 Aspect Fit contentMode 中获取 ImageView 的高度值,该值将填充 ImageView 的宽度?
【问题讨论】:
标签: ios swift image imageview height
高度 = image.height * imageView.width/image.width
【讨论】: