What is the default font, font name, and shadow for headings in the navigation bar?

I am trying to create a button on self.navigationItem.rightButton that switches a segmented control that fits into self.navgivationItem.titleView .. this will, however, remove the header that self.title first sets when navbar. I don’t know if my approach is bad, but I decided that I could rotate between UILabel and Segmented Control in the titleView.

It works as I would like, but I can’t determine what size and font and shadowoffset and shadowcolor have default names in the navigation bar. Could you help me with a solution that either would not force me to override navigationItem.titleView or help me figure out the information needed to make UILabel look exactly like the default names.

Thanks for any help.

+5
source share
1 answer

In the code, something like lines:

http://www.iphonedevsdk.com/forum/iphone-sdk-development/11648-change-uisegmentedcontrol-font-size.html

should help, except that you will ask for size, name, etc. UILabel.

+2

All Articles