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

  • Home
  • SEARCH
  • 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 7837209
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T14:31:29+00:00 2026-06-02T14:31:29+00:00

i already know how to load a custom font to my project in iPhone

  • 0

i already know how to load a custom font to my project in iPhone App from here
I want to ask if there is a way to do this from code? My problem is that I have a resource folder in my app, i have a font file name, lets call it “myfont.ttf“.

I want to grab a ttf file and put it to plist file from code, and what’s more i want to know the display name for fontWithName:size: method. There is a way to achieve this?

  • 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-02T14:31:34+00:00Added an answer on June 2, 2026 at 2:31 pm

    Yes you can. But you’ve to work a lot with CoreText and/or CoreGraphics.

    There’s a nice class from Zynga that could help you in doing this:
    https://github.com/zynga/FontLabel

    The example project shows how to load .ttf files from the bundle without using the .plist and use these fonts inside the application.

    The code is valid and is a good point from start.

    Edit: The previous approach uses CoreGraphics, that is good, but use Core Text is much better.
    I found an interesting answer to this question: How can you load a font (TTF) from a file using Core Text?

    If you don’t have experience with CoreText framework, please read the official introduction inside the Apple documentation.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I already know how to: Load properties files into my Spring configuration using: <context:property-placeholder
I already know the obvious answer to this question: just download <insert favorite windows
I already know Java, Objective C, C#, and some Python. I want to be
I already know how to create a new cmd window from a batch script
I already know that most implementations use a single thread, but is there anything
I feel embarrassed to ask this question as I feel like I should already
I would like to know how to load string resource from another class library.
I know there's already tons of similar questions, but I checked over twenty answers
I want to do this the simplest way possible, I don't mind if it
As some of you may already know, there are some caching issues in Firefox/Chrome

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.