Posted By

saturngod on 03/08/11


Tagged


Versions (?)

Who likes this?

2 people have marked this snippet as a favorite

terababy
cnathan


UINavigation Title Font


 / Published in: Objective C
 

URL: http://stackoverflow.com/questions/2771541/can-i-change-the-font-size-and-font-type-of-navigationitems-title

  1. CGRect frame = CGRectMake(0, 0, 400, 44);
  2. UILabel *label = [[[UILabel alloc] initWithFrame:frame] autorelease];
  3. label.backgroundColor = [UIColor clearColor];
  4. label.font = [UIFont boldSystemFontOfSize:8.0];
  5. label.textAlignment = UITextAlignmentCenter;
  6. label.textColor = [UIColor whiteColor];
  7. label.text = @"Sample custom Title With small Fonts ";
  8. self.navigationItem.titleView = label;

Report this snippet  

Comments

RSS Icon Subscribe to comments
Posted By: Jacky888 on August 3, 2018

frp bypass apk rootjunky apkandroidhub

You need to login to post a comment.