设置ios中imageView图片自适应,
UIIimageView *imageView = [UIImageView alloc]init];[imageView setContentScaleFactor:[[UIScreen mainScreen] scale]];imageView.contentMode = UIViewContentModeScaleAspectFill;imageView.autoresiz...