开发者

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"];
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜