Why scale to fill give bigger image than UIImageVIew size? (using swift)

前端 未结 5 1095
天涯浪人
天涯浪人 2021-01-31 18:23

I\'m trying to showing a list of place name, including it\'s photo using PFQueryTableViewController. It\'s included in ParseUI SDK from parse.com

I have man

5条回答
  •  天涯浪人
    2021-01-31 19:09

    Alternatively for guys who prefer Interface Builder, you can check the Clip Subviews at your image view when you choose Aspect Fill, then it will not resize your Image View but still keep the same aspect ratio.

提交回复
热议问题