私はそのナビゲーションコントローラーを持っており、このようにコードで1つのボタンを追加しています:
UIBarButtonItem *configButton = [[UIBarButtonItem alloc] initWithImage:[UIImage imageNamed:@"config.png"] style:UIBarButtonItemStyleBordered target:self action:@selector(showConfigWindow)];
self.navigationItem.leftBarButtonItem = configButton;
正常に動作していますが、アイコンは白ではなく黒です!!
私がこれを使用する場合:
UIBarButtonItem *configButton = [[UIBarButtonItem alloc] initWithTitle:@"Settings" style:UIBarButtonItemStyleBordered target:self action:@selector(showConfigWindow)];
テキストは白で正しく表示されます。
インターフェイスビルダーを介してアイコンを使用しているため、アイコンは問題ありません。アイコンは正しく表示されます。