Reputation: 655
Copied PNG image in 2x as shown.
Referred image in storyboard as shown
But display in the tab bar item is too big as shown
Can someone tell me why the image is not fitting inside the tab bar?
Upvotes: 1
Views: 1287
Reputation: 13353
404x404
is too large of an image for a tab bar. The images don't scale, so you need to include the correct size image. The images need to be 30x30 points. That means 30x30 pixels for the @1x version, 60x60 pixels for the @2x version, and 90x90 for the @3x version.
Upvotes: 3