Skip to main content
AI Assist is now on Stack Overflow. Start a chat to get instant answers from across the network. Sign up to save and share your chats.

With iOS 8+iOS 8+ and Xcode 6+Xcode 6+ you can make this easily. Here are the steps:

  1. Drag and drop your font to XcodeXcode Supporting Files folder. Don't forget to mark your app at "Add to targets"Add to targets section. From this moment you can use this font in IBIB and choose it from font pallet.

enter image description here

  1. To make this font available to in your device, open your info.plistinfo.plist and add Fonts provided by application key. It will contain Item 0 key, you must add your font name as the value. Font name can vary from your font file name. But first, try to add your filename in most cases this work.

enter image description here

If not, this article always helped me.

Here is swift snippet of the code from this article to help you find your font name.

func allFonts(){ for family in UIFont.familyNames(){ println(family) for name in UIFont.fontNamesForFamilyName(family.description) { println(" \(name)") } } } 

###EDIT I want to mention, that you need to add font files to your Target's Build PhasesTarget's Build Phases, Copy Bundle ResourcesCopy Bundle Resources. Without it, you won't see your font on the device. And it could lead to unexpected behaviour.

For example, I encounter a bugbug, when UITextFieldUITextField have custom font, but this font wasn't in the Copy Bundle ResourcesCopy Bundle Resources. And when I segue to the view controllerviewcontroller with this text fieldtextfield, there is a delay about 4 seconds before viewDidLoadviewDidLoad function was called. Resolving font troubles removed this delay. So, recommend to check it twice. (rdar://20028250) Btw, I wasn't able to reproduce the bug, but I'm sure that problem was with the font.

With iOS 8+ and Xcode 6+ you can make this easily. Here are the steps:

  1. Drag and drop your font to Xcode Supporting Files folder. Don't forget to mark your app at "Add to targets" section. From this moment you can use this font in IB and choose it from font pallet.

enter image description here

  1. To make this font available to in your device, open your info.plist and add Fonts provided by application key. It will contain Item 0 key, you must add your font name as the value. Font name can vary from your font file name. But first, try to add your filename in most cases this work.

enter image description here

If not, this article always helped me.

Here is swift snippet of the code from this article to help you find your font name.

func allFonts(){ for family in UIFont.familyNames(){ println(family) for name in UIFont.fontNamesForFamilyName(family.description) { println(" \(name)") } } } 

###EDIT I want to mention, that you need to add font files to your Target's Build Phases, Copy Bundle Resources. Without it, you won't see your font on the device. And it could lead to unexpected behaviour.

For example, I encounter a bug, when UITextField have custom font, but this font wasn't in the Copy Bundle Resources. And when I segue to the view controller with this text field, there is a delay about 4 seconds before viewDidLoad function was called. Resolving font troubles removed this delay. So, recommend to check it twice. (rdar://20028250) Btw, I wasn't able to reproduce the bug, but I'm sure that problem was with the font.

With iOS 8+ and Xcode 6+ you can make this easily. Here are the steps:

  1. Drag and drop your font to Xcode Supporting Files folder. Don't forget to mark your app at Add to targets section. From this moment you can use this font in IB and choose it from font pallet.

enter image description here

  1. To make this font available to in your device, open your info.plist and add Fonts provided by application key. It will contain Item 0 key, you must add your font name as the value. Font name can vary from your font file name. But first, try to add your filename in most cases this work.

enter image description here

If not, this article always helped me.

Here is swift snippet of the code from this article to help you find your font name.

func allFonts(){ for family in UIFont.familyNames(){ println(family) for name in UIFont.fontNamesForFamilyName(family.description) { println(" \(name)") } } } 

###EDIT I want to mention, that you need to add font files to your Target's Build Phases, Copy Bundle Resources. Without it, you won't see your font on the device. And it could lead to unexpected behaviour.

For example, I encounter a bug, when UITextField have custom font, but this font wasn't in the Copy Bundle Resources. And when I segue to the viewcontroller with this textfield, there is a delay about 4 seconds before viewDidLoad function was called. Resolving font troubles removed this delay. So, recommend to check it twice. (rdar://20028250) Btw, I wasn't able to reproduce the bug, but I'm sure that problem was with the font.

added 88 characters in body
Source Link
Dima Deplov
  • 3.7k
  • 7
  • 48
  • 78

With iOS 8+ and Xcode 6+ you can make this easily. Here are the steps:

  1. Drag and drop your font to Xcode Supporting Files folder. Don't forget to mark your app at "Add to targets" section. From this moment you can use this font in IB and choose it from font pallet.

enter image description here

  1. To make this font available to in your device, open your info.plist and add Fonts provided by application key. It will contain Item 0 key, you must add your font name as the value. Font name can vary from your font file name. But first, try to add your filename in most cases this work.

enter image description here

If not, this article always helped me.

Here is swift snippet of the code from this article to help you find your font name.

func allFonts(){ for family in UIFont.familyNames(){ println(family) for name in UIFont.fontNamesForFamilyName(family.description) { println(" \(name)") } } } 

###EDIT I want to mention, that you need to add font files to your Target's Build Phases, Copy Bundle Resources. Without it, you won't see your font on the device. And it could lead to unexpected behaviour.

For example, I encounter a bug, when UITextField have custom font, but this font wasn't in the Copy Bundle Resources. And when I segue to the view controller with this text field, there is a delay about 4 seconds before viewDidLoad function was callcalled. Resolving font troubles removesremoved this delay. So, recommend to check it twice. (rdar://20028250) Btw, I wasn't able to reproduce the bug, but I'm sure that problem was with the font.

With iOS 8+ and Xcode 6+ you can make this easily. Here are the steps:

  1. Drag and drop your font to Xcode Supporting Files folder. Don't forget to mark your app at "Add to targets" section. From this moment you can use this font in IB and choose it from font pallet.

enter image description here

  1. To make this font available to in your device, open your info.plist and add Fonts provided by application key. It will contain Item 0 key, you must add your font name as the value. Font name can vary from your font file name. But first, try to add your filename in most cases this work.

enter image description here

If not, this article always helped me.

Here is swift snippet of the code from this article to help you find your font name.

func allFonts(){ for family in UIFont.familyNames(){ println(family) for name in UIFont.fontNamesForFamilyName(family.description) { println(" \(name)") } } } 

###EDIT I want to mention, that you need to add font files to your Target's Build Phases, Copy Bundle Resources. Without it, you won't see your font on the device. And it could lead to unexpected behaviour.

For example, I encounter a bug, when UITextField have custom font, but this font wasn't in the Copy Bundle Resources. And when I segue to the view controller with this text field, there is a delay about 4 seconds before viewDidLoad function was call. Resolving font troubles removes this delay. So, recommend to check it twice. (rdar://20028250)

With iOS 8+ and Xcode 6+ you can make this easily. Here are the steps:

  1. Drag and drop your font to Xcode Supporting Files folder. Don't forget to mark your app at "Add to targets" section. From this moment you can use this font in IB and choose it from font pallet.

enter image description here

  1. To make this font available to in your device, open your info.plist and add Fonts provided by application key. It will contain Item 0 key, you must add your font name as the value. Font name can vary from your font file name. But first, try to add your filename in most cases this work.

enter image description here

If not, this article always helped me.

Here is swift snippet of the code from this article to help you find your font name.

func allFonts(){ for family in UIFont.familyNames(){ println(family) for name in UIFont.fontNamesForFamilyName(family.description) { println(" \(name)") } } } 

###EDIT I want to mention, that you need to add font files to your Target's Build Phases, Copy Bundle Resources. Without it, you won't see your font on the device. And it could lead to unexpected behaviour.

For example, I encounter a bug, when UITextField have custom font, but this font wasn't in the Copy Bundle Resources. And when I segue to the view controller with this text field, there is a delay about 4 seconds before viewDidLoad function was called. Resolving font troubles removed this delay. So, recommend to check it twice. (rdar://20028250) Btw, I wasn't able to reproduce the bug, but I'm sure that problem was with the font.

added 8 characters in body
Source Link
Dima Deplov
  • 3.7k
  • 7
  • 48
  • 78

With newiOS 8+ and Xcode 66+ you can make this easily. Here are the steps:

  1. Drag and drop your font to Xcode Supporting Files folder. Don't forget to mark your app at "Add to targets" section. From this moment you can use this font in IB and choose it from font pallet.

enter image description here

  1. To make this font available to in your device, open your info.plist and add Fonts provided by application key. It will contain Item 0 key, you must add your font name as the value. Font name can vary from your font file name. But first, try to add your filename in most cases this work.

enter image description here

If not, this article always helped me.

Here is swift snippet of the code from this article to help you find your font name.

func allFonts(){ for family in UIFont.familyNames(){ println(family) for name in UIFont.fontNamesForFamilyName(family.description) { println(" \(name)") } } } 

###EDIT I want to mention, that you need to add font files to your Target's Build Phases, Copy Bundle Resources. Without it, you won't see your font on the device. And it could lead to unexpected behaviour.

For example, I encounter a bug, when UITextField have custom font, but this font wasn't in the Copy Bundle Resources. And when I segue to the view controller with this text field, there is a delay about 4 seconds before viewDidLoad function was call. Resolving font troubles removes this delay. So, recommend to check it twice. (rdar://20028250)

With new Xcode 6 you can make this easily. Here are the steps:

  1. Drag and drop your font to Xcode Supporting Files folder. Don't forget to mark your app at "Add to targets" section. From this moment you can use this font in IB and choose it from font pallet.

enter image description here

  1. To make this font available to in your device, open your info.plist and add Fonts provided by application key. It will contain Item 0 key, you must add your font name as the value. Font name can vary from your font file name. But first, try to add your filename in most cases this work.

enter image description here

If not, this article always helped me.

Here is swift snippet of the code from this article to help you find your font name.

func allFonts(){ for family in UIFont.familyNames(){ println(family) for name in UIFont.fontNamesForFamilyName(family.description) { println(" \(name)") } } } 

###EDIT I want to mention, that you need to add font files to your Target's Build Phases, Copy Bundle Resources. Without it, you won't see your font on the device. And it could lead to unexpected behaviour.

For example, I encounter a bug, when UITextField have custom font, but this font wasn't in the Copy Bundle Resources. And when I segue to the view controller with this text field, there is a delay about 4 seconds before viewDidLoad function was call. Resolving font troubles removes this delay. So, recommend to check it twice. (rdar://20028250)

With iOS 8+ and Xcode 6+ you can make this easily. Here are the steps:

  1. Drag and drop your font to Xcode Supporting Files folder. Don't forget to mark your app at "Add to targets" section. From this moment you can use this font in IB and choose it from font pallet.

enter image description here

  1. To make this font available to in your device, open your info.plist and add Fonts provided by application key. It will contain Item 0 key, you must add your font name as the value. Font name can vary from your font file name. But first, try to add your filename in most cases this work.

enter image description here

If not, this article always helped me.

Here is swift snippet of the code from this article to help you find your font name.

func allFonts(){ for family in UIFont.familyNames(){ println(family) for name in UIFont.fontNamesForFamilyName(family.description) { println(" \(name)") } } } 

###EDIT I want to mention, that you need to add font files to your Target's Build Phases, Copy Bundle Resources. Without it, you won't see your font on the device. And it could lead to unexpected behaviour.

For example, I encounter a bug, when UITextField have custom font, but this font wasn't in the Copy Bundle Resources. And when I segue to the view controller with this text field, there is a delay about 4 seconds before viewDidLoad function was call. Resolving font troubles removes this delay. So, recommend to check it twice. (rdar://20028250)

deleted 1 character in body
Source Link
Dima Deplov
  • 3.7k
  • 7
  • 48
  • 78
Loading
added 18 characters in body
Source Link
Dima Deplov
  • 3.7k
  • 7
  • 48
  • 78
Loading
added 544 characters in body
Source Link
Dima Deplov
  • 3.7k
  • 7
  • 48
  • 78
Loading
Source Link
Dima Deplov
  • 3.7k
  • 7
  • 48
  • 78
Loading