navigationbar - ios navigation bar item image size -
i want customize navigation bar button , using own images. question size should be? found button size should 40*40, image should 80*80 retina?
these sizes documentation recommends custom icons now.
- @1: 25 x 25
- @2: 50 x 50
- @3: 75 x 75
create 3 images of above pixel sizes , add them new image set in assets.xcassets file. (apparently @1 size no longer needed, though.)
alternatively, use universal vector image (pdf) (see here , here). has been preference recently.
related answer
Comments
Post a Comment