UIImageView

[self.imageView sizeToFit];//根据图片自动调整大小
原文地址:https://www.cnblogs.com/congliang/p/UIImageView.html