I have assigned a label to my navigation item.titleview
The problem is if I use system font then the label is centered on the navigation bar, but if I use custom font it is not.

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
All above three answers are helpful ..
To sum up :
titleView..only origin.x and width had an effect..y values didn’t.size to fitit didn’t worked… then i tried many things.. making a button and setting its title.. etc.. still the bug persist.So the solution was simple enough for me.. since my navigation bar title does not change.. i just replaced it with the text image.
using
this won’t work for those whose title changes.. Thanks all..