문제

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