iOS超出屏幕的尺寸的图片按比例缩放显示

imageView.contentMode = UIViewContentModeScaleAspectFit; imageView.autoresizesSubviews = YES;

imageView.autoresizingMask = UIViewAutoresizingFlexibleLeftMargin | UIViewAutoresizingFlexibleTopMargin | UIViewAutoresizingFlexibleHeight | UIViewAutoresizingFlexibleWidth;

你可能感兴趣的:(iOS超出屏幕的尺寸的图片按比例缩放显示)