0

I am trying to add a custom icon as the image of a bar button item. I correctly added the image assets in the 1x, 2x, 3x sizes, but the frame is too wide for no apparent reason. The image itself is a square and does not have such a wide frame. Click the link below to see the issue. Is there a way to fix this?

Extra wide frame image

rmaddy
  • 314,917
  • 42
  • 532
  • 579
Rohit Chouhan
  • 57
  • 1
  • 5

1 Answers1

2

These are the Human Interface Guidelines that the documentation recommends for custom icons.

You just need to resize the image as per standard.

1X: 25 x 25

2X: 50 x 50

3X: 75 x 75

Hitesh Surani
  • 12,733
  • 6
  • 54
  • 65