//只需如下设置imageView

 [picImg setContentScaleFactor:[[UIScreenmainScreen] scale]];

    picImg.contentModeUIViewContentModeScaleAspectFill;

    picImg.autoresizingMask = UIViewAutoresizingFlexibleWidth;//根据你的需求

    picImg.clipsToBounds  = YES;//切掉多余部分

相关文章: