我是 iOS/Objective-c 的新手,并试图允许使用下划线和醒目的文本注释,但这里不是具有此功能的本机字体以任何方式添加某种属性?
NSDictionary *arial = [NSDictionary dictionaryWithObjectsAndKeys:@"ArialMT", [NSNumber numberWithInt:TextAnnotationFontStyleNone],
@"Arial-BoldMT", [NSNumber numberWithInt:TextAnnotationStyleBold],
@"Arial-ItalicMT", [NSNumber numberWithInt:TextAnnotationStyleItalic],
@"Arial-BoldItalicMT", [NSNumber numberWithInt:TextAnnotationStyleBold | TextAnnotationStyleItalic],
@"Arial-BoldMT", [NSNumber numberWithInt:TextAnnotationStyleUnderline], // ANY WAY TO ADD ANYTHING HERE TO MAKE IT UNDERLINE???
nil];