有沒有辦法將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