iOS @2x elongated images

隐身守侯 提交于 2019-12-11 09:56:39

问题


I have a set of images with @2x for retina display detection. This works fine on most images, however 1 image is elongated. This image was added to an UIImageView in Interface Builder.

I know the names are the same (aside from the @2x part) and the files are both the same type (PNG). What else could be causing this issue?


回答1:


You will need to manually set the frame of the UIImageView.



来源:https://stackoverflow.com/questions/4442401/ios-2x-elongated-images

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!