Home > Q&A > body text
我从相册里取出一张图片。我怎么才能给他一个合适的frame让他显示不模糊啊
PHP中文网2017-05-02 09:38:29
Generally speakingself.view.contentMode = UIViewContentModeScaleAspectFit; will ensure that the image is in the normal proportions and will not be blurry, unless the image itself has very low pixels
self.view.contentMode = UIViewContentModeScaleAspectFit;
Home
Course
Q&A
My