[英]find proportional height of UIImage from fixed width in iphone
Hello my question is very similar to this question 您好我的问题与这个问题非常相似
I am arranging images in a grid manner. 我正在以网格方式排列图像。 this grid has three columns, every column has fixed width of 100px and i want to scale UIImage with this width. 这个网格有三列,每列具有100px的固定宽度,我想用此宽度缩放UIImage。
For better explanation i have attached an image 为了更好的解释,我附了一张图片
As shown in image i want to find the height. 如图所示,我想找到高度。
我建议您尽可能使用PSCollectionView
进行此类显示。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.