I am trying to change the font size of a UITextView field's text by clicking on '+' and '-' buttons. I am unable to access the font size of the textfield. Please help !

有帮助吗?

解决方案

UITextView *textView = ...;
textView.font = [textView.font fontWithSize:newSize]
许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top