let fys = UIFont.familyNames
for fy in fys {
let fts = UIFont.fontNames(forFamilyName: fy)
for ft in fts {
print(ft)
}
}
let fys = UIFont.familyNames
for fy in fys {
let fts = UIFont.fontNames(forFamilyName: fy)
for ft in fts {
print(ft)
}
}
本文标题:iOS打印所有字体(swift)
本文链接:https://www.haomeiwen.com/subject/koewoqtx.html
网友评论