简体   繁体   中英

Why tab bar icon is not showing in my Bar item image?

I am creating a simple tab bar, and i am using iphone 8 in simulator. I have imported icon( not glyph) of size 50 x 50 as mentioned in apple guideline, but the icon is not showing up in bar item image. I have done everything ( Render as, change pixel size, even i tried with different resolutions like 25 x 25, 75 x 75) but its not showing up in portrait mode. Kindly help. i wanna do it in storyboard. Below are the screenshots. 在此处输入图像描述

You can just typed the image name in the box

图片

If you want the file showed in the dropdown, close and reopen the project so Xcode will do reindexing all project files

You may want to try adding the icon into the other 2 slots for universal.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM