选中的BarButtonItem未显示。

时间:2015-01-03 17:10:17

标签: ios xcode image uibarbuttonitem selected

每当用户选择UIViewController时,所选BarButtonItem消失。在Apple的文档中,它建议对选定的状态和未选择的状态使用两个单独的图像。我这样做,但所选的图像没有出现。在控制台中,我得到以下代码。如何在所选图像显示时进行制作。

2015-01-03 10:55:22.718 Grouper[2105:130730] CUICatalog: Invalid asset name supplied: (null) 2015-01-03 10:55:22.718 Grouper[2105:130730] CUICatalog: Invalid asset name supplied: (null) 2015-01-03 10:55:22.718 Grouper[2105:130730] Could not load the "(null)" image referenced from a nib in the bundle with identifier "SR.Grouper"

如果答案涉及代码,请使用swift,因为我对objective-c不是很熟悉。

enter image description here

0 个答案:

没有答案
相关问题