What is the default fontsize, fontname and shadow for titles in Navigation Bar?
Posted
by user292952
on Stack Overflow
See other posts from Stack Overflow
or by user292952
Published on 2010-03-13T13:27:53Z
Indexed on
2010/03/13
13:35 UTC
Read the original article
Hit count: 226
I'm trying to have a button on the self.navigationItem.rightButton that toggles a segmented control that is placed in self.navgivationItem.titleView .. this will however remove the title that is first set by self.title when the navbar is created .. I dont know if my approach is bad but I figured I could rotate between a UILabel and the Segmented Control in the titleView.
It works as I would like it to, however I cant figure out what size and font and shadowoffset and shadowcolor the default titles in a navigation bar is .. could you help me with a solution that either not force me to override the navigationItem.titleView or help me figure out the information needed to make a UILabel look exactly like the default titles.
Thankful for any help.
© Stack Overflow or respective owner