简体   繁体   English

标签栏图标显示在模拟器中但不在应用程序中

[英]Tab bar icons showing in simulator but not on App

In an app I published the tab bar titles appear fine, however 2 of the 3 icons don't appear, and I'm not sure why because they all have the same properties.在我发布的应用程序中,标签栏标题看起来不错,但是 3 个图标中有 2 个没有出现,我不知道为什么,因为它们都具有相同的属性。 I'm using the most recent version of xcode, below are pictures of the actual app and then the simulator.我使用的是最新版本的 xcode,下面是实际应用程序和模拟器的图片。

在此处输入图片说明

在此处输入图片说明

在此处输入图片说明

you need to do is go to the ACTUAL view controller that your storyboard reference is pointing to.您需要做的是转到您的故事板参考所指向的 ACTUAL 视图控制器。 This is the "real" UITabBarItem.这是“真正的”UITabBarItem。 Set your properties there and you will see them show when you run the app.在那里设置您的属性,您将在运行应用程序时看到它们显示。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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