title: how to use custom font for uilabel
body: <p>hi i am using custom font xcode 5. its font family name is <strong>"Alegre Sans"</strong>  i follow many tutorials online  of using custom font in xcode. </p>
  
  <p>I have include custom font file name "alegre.ttf" in xcode resources folder. also i include this file in project .plist under  <strong>"Fonts provided by applications"</strong>. and i am using this fond in viewdidload method of  viewcontroller like this </p>
  
  <pre><code>CustomLabel* lblObj = [[CustomLabel alloc]initWithFrame:CGRectMake(121, 30, 0, 0)];
  
  [lblObj setText:@"FREE TRAIL"];
  [lblObj sizeToFit];
  [lblObj setFont:[UIFont fontWithName:@"Alegre Sans" size:10.0]];
  
  
  //  [headerLabel setFont:[UIFont boldSystemFontOfSize:30.0]];
  [lblObj setTextColor:[UIColor whiteColor]];
  [lblObj setTextAlignment:NSTextAlignmentCenter];
  [self.headerBgVw addSubview:lblObj];
  </code></pre>
  
  <p><strong>but unable to change font.</strong> </p>
  
  <p>I have wasted my whole day on it but not able to change font . is i am doing mistake in programing or including font file </p>