Question

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 !

Était-ce utile?

La solution

UITextView *textView = ...;
textView.font = [textView.font fontWithSize:newSize]
Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top