有没有办法将self.navigationItem.prompt
颜色设置为White?目前它是黑色的。iPhone/Objective-C - 更改默认的“navigationItem.prompt”颜色
这是我如何设置的那一刻我的导航栏颜色:
// Set top navigation bar.
UINavigationBar *bar = [navController navigationBar];
[bar setTintColor:[UIColor colorWithRed:180.0/255.0 green:25.0/255.0 blue:34.0/255.0 alpha:1]];
UIImageView *navBar = [[UIImageView alloc] initWithFrame:CGRectMake(0, 0, 320, 44)];
[navBar release];
..和这是我怎么设置我的navigationItem.prompt
:
self.navigationItem.prompt = @"Tap image for more options.";
你这是什么意思navigationBar.prompt? – saadnib 2011-04-29 07:39:59
navigationItem.prompt not navigationBar.prompt – fuzz 2011-04-29 16:19:54
[Change textColor of UINavigationBar“prompt”?](http:// stackoverflow。com/questions/1491345/change-textcolor-of-uinavigationbar-prompt) – Moshe 2011-04-29 16:23:39