每当用户选择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不是很熟悉。