Image blurring on a UIButton - but not when UIImag

2019-08-13 22:38发布

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. UIButton in background and UIImageView in front

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

1条回答
beautiful°
2楼-- · 2019-08-13 23:07

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

查看更多
登录 后发表回答