Home Change Navigation Bar Title Properties
Post
Cancel

Change Navigation Bar Title Properties

NSDictionary *dic = [NSDictionary dictionaryWithObjectsAndKeys: [UIFont fontWithName:@”Arial” size:22],UITextAttributeFont, [UIColor whiteColor], UITextAttributeTextColor, [UIColor grayColor], UITextAttributeTextShadowColor, [NSValue valueWithUIOffset:UIOffsetMake(-1, 0)], UITextAttributeTextShadowOffset,nil];

self.navigationController.navigationBar.titleTextAttributes = dic;

OR

Add UILabel to titleView

Apple Doc
This post is licensed under CC BY 4.0 by the author.