Names such as font-size: large will be considered as 0px. The unit of font-size will always be interpreted as px.A list of fonts like Arial, Helvetica, sans-serif will not be supported by UIKit, and will always return nil regardless whether any font in the list is available. Unlike real CSS rules there are heavy restrictions on the "markup description": +(UIFont*)fontWithMarkupDescription:(NSString*)markupDescription Ĭreate a font using a CSS font description, e.g. ![]() UIFont* font = +fontWithMarkupDescription: Signature Returns a font with specific family name, traits (bold/italic) and font size. ![]() +(UIFont*)fontWithFamilyName:(NSString*)familyName traits:(GSFontTraitMask)traits size:(CGFloat)fontSize Undocumented methods +fontWithFamilyName:traits:size: Signature ![]() There are 4 font sizes that can be obtained using +.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |