Answers for "swift programmatically set font"

2

swiftui font add

// Create a new Folder(group) "Fonts"
// Drag your fonts files in it with Create Groups and your prj as Ref
// Add property “Fonts provided by application.” into Info.plist
// Copy and paste the names of the fonts with extension
// Now use them 
.font(.custom("Your-Font-Name.noExtension", size: 42))
Posted by: Guest on May-04-2021
0

swift programmatically set font

label.font = UIFont.systemFont(ofSize: 14, weight: .light)
Posted by: Guest on June-27-2021

Code answers related to "swift programmatically set font"

Code answers related to "Swift"

Browse Popular Code Answers by Language