Add a line under the heading navigationBar

How to add a second line (smaller font) under the navigationBar heading as below? I want to show it below Sunday.

alt text http://img.skitch.com/20100404-8kaabe5f6b5bdf66wt9kfymepw.jpg

+3
source share
1 answer

[UINavigationItem prompt] - this is what you are looking for.

You can set this to UIViewController initWithNibName:bundle:(or initif you are not using XIB), for example:

[[self navigationItem] setPrompt:@"The best day of the week"];
+3
source

Source: https://habr.com/ru/post/1739775/


All Articles