Frage

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 !

War es hilfreich?

Lösung

UITextView *textView = ...;
textView.font = [textView.font fontWithSize:newSize]
Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top