Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

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.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8714549
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T05:37:25+00:00 2026-06-13T05:37:25+00:00

I am trying to set a label to a custom font with the following

  • 0

I am trying to set a label to a custom font with the following code.

cell.lblDataum.font = [UIFont fontWithName:@"Homenaje_Regular" size:10.0];

I’v added this font in my .plist.

<key>UIAppFonts</key>
<array>
        <string>Homenaje_Regular.ttf</string>
</array>

But still no succes. Can anybody help me?

Kind regards

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T05:37:26+00:00Added an answer on June 13, 2026 at 5:37 am
    • Are you sure you added you Homenaje_Regular.ttf file to your Xcode project and added it to your target’s Copy File Build Rule (checkbox is checked next to the target name in the Inspector Panel?) so that the TTF file is copied into the application bundle on compilation.
    • But more likely, the name of the font is probably not @"Homenaje_Regular". You have to use the real font name as a parameter for fontWithName:and that’s not always the same as the file name.

    In your case, the real name of your font is probably "Homenaje-Regular" or just "Homenaje" and not "Homenaje_Regular".

    You can have the real name of the font by opening your font in FontBook on your Mac and simply press Cmd-I to get that information.

    You can also list by code in your iOS app all the fonts available to make sure your font is correctly detected by your app and pick up the right name of your custom font to use with fontWithName: :

    for ( NSString *familyName in [UIFont familyNames] )
    {
        NSLog(@"=== Family %@ ===", familyName);
        NSLog(@"Names = %@", [UIFont fontNamesForFamilyName:familyName]);
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Trying to set this label to red I've got the following class: .redErrorText {
I'm trying to make my custom filter work... I have the following code in
I am trying to set some text on a label descriptionLabel.text = [NSString stringWithFormat:mySTUser.bio];
I'm working with a custom checkbox, and I'm trying to set the content to
I am trying to set the text label of a second view controller from
I am trying to set a custom backend model for a custom attribute. The
In Contacts I have set up a Date field with a custom label (when
I'm trying to add a custom label in my UINavigationController's toolbar. I followed the
I'm trying to create a custom label subclass that draws rich text and in
Hi I am trying to set up element custom validator in a zend form

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.