[英]Why tab bar icon is not showing in my Bar item image?
我正在创建一个简单的标签栏,我在模拟器中使用 iphone 8。 如苹果指南中所述,我已导入大小为 50 x 50 的图标(不是字形),但图标未显示在条形项目图像中。 我已经完成了所有操作(渲染为,更改像素大小,即使我尝试了不同的分辨率,例如 25 x 25、75 x 75),但它没有以纵向模式显示。 请帮忙。 我想在 storyboard 中做。 下面是截图。
您可以在框中输入图像名称
如果您希望文件显示在下拉列表中,请关闭并重新打开项目,以便 Xcode 重新索引所有项目文件
您可能想尝试将图标添加到其他 2 个通用插槽中。
[英]Image is not showing up for tab bar item
[英]Tab Bar Controller item image not showing
[英]Tab Bar Item Image not showing up
[英]Tab bar item not showing
[英]Why Tab bar item icon is not center on iPad devices?
[英]Tab bar controller is not showing bar button item
[英]iOS: Why is custom tab bar item showing only as grey silhouette?
[英]React Native Tab bar iOS icon not showing
[英]Tab bar icon and title not showing with Storyboard References
[英]How to change tab bar item' s icon?
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.