I have a custom made UINavigationBar (different size, background etc) that has inside a custom title view. I used this code to achieve this:
UIView * mainVie
You created you UINavigationBar
with a height of 80 points, when a standard UINavigationBar
has 44 pts. It probably position it centred it on a 44 pts based centre...
You can try to make a UIView
with a height of 80 pts and add the UILabel
centred inside it. (not tested, just a guess)
You can use setTitleVerticalPositionAdjustment:forBarMetrics: in iOS 5 to change the title position, it works on normal title e.g.:
CGFloat verticalOffset = -4;
[[UINavigationBar appearance] setTitleVerticalPositionAdjustment:verticalOffset forBarMetrics:UIBarMetricsDefault];