image for tabbar

JHDevJHDev USMember ✭✭

I am just trying to put a image for a tab. I am not trying to replace the view with a color picture.
I don't know why it is so difficult. I uploaded a picture of 75x75 because Apple docs says this is recommended.
I use storybaord to assign it so I am not using code to setup the tabs. this shows up really big. I tried the inset option in the layout to make it smaller. But this makes it flash into a very tiny one back and forth when I select the Tab.

Finally I shrink the image pixel size eventually it looks ok at 30 x 30. But I didn't remember being this difficult and I thought it should resize itself for the tabs?

Posts

  • prashantvcprashantvc USXamarin Team Xamurai

    Finally I shrink the image pixel size eventually it looks ok at 30x30. But I didn't remember being this difficult and I thought it should resize itself for the tabs?

    The 75x75 is for large phones at 3x the resolution of original screen.
    Where did you get the 30x30 icon recommendation? The Apple documentation recommends using 25x25 (and 50x50 for retina) https://developer.apple.com/ios/human-interface-guidelines/graphics/custom-icons/

    Could you give it a try and let us know if you continue to have any issues?

Sign In or Register to comment.