swift - UITextView change dynamically font -


Hello, I am using the following code to locate the new line on the UITX view

  func textView (TextView: UITIX view, ChangeInternchange category: NSR, replacement text text: string) - & gt;  

I take a new font when I try the new line first thing

  if newLine {textView.typingAttributes = highlightTypingAttributes} other {textView .typingAttributes = normalTypingAttributes}  

is to determine the credit for other things

any thoughts

thanks


Comments