Image blurring on a UIButton - but not when UIImageView

♀尐吖头ヾ 提交于 2019-12-11 07:46:49

问题


I have a bit of an odd problem with an image I'm using in a UIButton backgroundImage property. As you can see from the picture, the foreground image (in an UIImageView) is much clearer, whereas the background one, is blurred and not as good looking - this is a image on a UIButton.

Thoughts? Things to try? Any ideas would be appreciated. I'm doing this all in IB.


回答1:


Retina and not retina file sizes were not exactly double. Keep your designers informed guys...



来源:https://stackoverflow.com/questions/8754760/image-blurring-on-a-uibutton-but-not-when-uiimageview

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