简体   繁体   中英

Custom Font saying (none installed) in an ios application

i am new to swift and iOS and i am facing an issue with custom fonts provided by the application. i have added an font to the application but now when i go to assign it to any label or any text it doesn't allow to use custom font option by saying (none installed)

enter image description here

  1. Add fonts to your project.

  2. Then select target membership to yes.

在此处输入图片说明

  1. Go to info.plist add key "Fonts provided by application".

在此处输入图片说明

4.select font from custom and apply it.

for more info please check this link https://developer.apple.com/documentation/uikit/text_display_and_fonts/adding_a_custom_font_to_your_app

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM