I'd like to put my own image in UITabBarButtonItem, but if you set the png image,
The 32*32 image is just the right size, but the image quality gets rough.
However, if you set the 64*64 image, it is too big to use.
I looked it up and found a similar article, and it seems that it can be done by setting up a PDF.
(The link could not be attached)
I tried to write a PDF in Illustrator and set it up.
It gets bigger like this
How can I set the image to display a beautiful icon on the UITabBarButtonItem?
When creating a new document with Illustrator, wouldn't it be better to set the canvas size to 32x32 pixels?Did you notice that the current check.pdf image size is 128 x 128 pixels?
© 2024 OneMinuteCode. All rights reserved.