iOS navigation bar item image size
ios, navigationbar
Solution
These are the sizes that the documentation recommends for custom icons now.
- @2: 50 x 50
- @3: 75 x 75
Create two images of the above pixel sizes and then add them to a new image set in your Assets.xcassets file. (Apparently the @1 size is no longer needed.)
Alternatively, you could use a universal vector image (pdf) (see here and here). This has been my preference recently.
Related answer
- iOS how to set app icon and launch images
Problem
I want to customize my `NavigationBar` button and using my own images. The question is what the size should be? I found that the button size should be 40*40, so the image should be 80*80 for retina?