-1

I'm currently trying to set the tab bar item (tab image) for my apps. I'm using one of the many PNG CC/Free icons from the site; but when i attempt to set them through storyboard, i'm getting a visual bug where they are oversize.

enter image description here

I wanted to know why this is happening/how to fix it. I'm downloading them black from thenounproject; but they're not sizing correctly, nor are they the color black. I've placed the PNG in assets and dragged it to the 3x slot, but all it did was make it smaller (the picture shows the smallest; with 1x being quite larger).

Any idea how to fix this?

Eric Aya
  • 69,473
  • 35
  • 181
  • 253
BitBeast
  • 33
  • 7

1 Answers1

0

navigation bar, tool bar, and tab bar icons has fixed sizes as mentioned in Apple documentation.

please check : Human Interface Guidelines - Custom Icons

tab bar icon size has to be:

Recommended:

75px × 75px (25pt × 25pt @3x)

50px × 50px (25pt × 25pt @2x)

Maximum:

144px × 96px (48pt × 32pt @3x)

96px × 64px (48pt × 32pt @2x)

Sameh Salama
  • 765
  • 1
  • 7
  • 17