
2.добавить в info.plist

Код: Выделить всё
if let customFont = UIFont(name: "myFont", size: 54) {
testLabel.font = customFont
} else {
print("Font loading failed!")
}
почему?

затем я пытаюсь распечатать все шрифты следующим образом:
Код: Выделить всё
for fontFamily in UIFont.familyNames {
print(UIFont.fontNames(forFamilyName: fontFamily))
}
Не знаю почему, очень благодарен за помощь
Подробнее здесь: https://stackoverflow.com/questions/793 ... ift-on-ios
Мобильная версия