标签:
只需加这么一段代码,如下:
imageView.contentMode = UIViewContentModeScaleAspectFit;
imageView.autoresizesSubviews = YES;
imageView.autoresizingMask = UIViewAutoresizingFlexibleLeftMargin | UIViewAutoresizingFlexibleTopMargin | UIViewAutoresizingFlexibleHeight | UIViewAutoresizingFlexibleWidth;
标签:
原文地址:http://www.cnblogs.com/jyking/p/5336472.html