views:

37

answers:

2

Can I change the font of my UINavigationController? --> title

A: 

I don't think you can do it directly but you can create a custom title by creating an UIView (or subclass) and assign it to self.navigationItem.titleView

Paul Ardeleanu
+1  A: 

The title view can be any view. So just create a UILabel or something else where you change the font and assign that new view to the title property of the navigation item.

Erik
That's a great idea, but I have a problem now,..When I add my UILabel my controls (like AddButton) on the uinavigationcontroller isn't visible anymore,.. *hm*
fuzi-
I fixed it, by myself.. sorry a missunderstood ;)
fuzi-
if this fixed the problem, dont forget to accept the solution provided in the answer
Erik