I've got an issue with antialiasing on iOS. I have created a button and set its background to be a PNG image. On the iPad, it looks like this:
Whereas on the storyboard it looks like this:
And here are my settings in the attributes panel of xcode:
You should provide the 2x
images in your resource too, so as to display them properly on retina device. Please make sure you have both version of images as mentioned & set just the normal-image name. The 2x
image is searched in the resource & will be taken automatically while execution.
wizard-ceiling-desel-ipad.png
Its not just the name matters, you should also keep the size of images in 2x ratio. For example if normal image is 32x32
then make sure the 2x
image is of size 64x64
Hope this helps.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With