get font-weight of an uitextview
问题 I want to resize the font-size in some UITextViews. That works fine with an outlet collection and this code: for (UITextView *view in self.viewsToResize) { if ([view respondsToSelector:@selector(setFont:)]) { [view setFont:[UIFont systemFontOfSize:view.font.pointSize + 5]]; } } But my problem is, that not every textView uses the systemFont in normal weight, some of them are in bold weight. Is it possible to get the font-weight? With a po view.font in the debug area I can see everything I need