Add a line below the navigationBar title
How can I add a second line (smaller font) below the navigationBar title as shown below? I want to show it bel开发者_开发知识库ow Sunday
alt text http://img.skitch.com/20100404-8kaabe5f6b5bdf66wt9kfymepw.jpg
[UINavigationItem prompt]
is what you're looking for.
You might set this in a UIViewController
's initWithNibName:bundle:
(or init
if you're not using XIBs) like this:
[[self navigationItem] setPrompt:@"The best day of the week"];
精彩评论