let contentHeight = yourUITextView.contentSize.height
let offSet = yourUITextView.contentOffset.x
let contentOffset = contentHeight - offSet
yourUITextView.contentOffset = CGPoint(x: 0, y: -contentOffset)
'swift' 카테고리의 다른 글
UiTextField only english (0) | 2018.03.21 |
---|---|
UiButton 이벤트 적용 (0) | 2018.03.21 |
textField border style none, textField font 크기 변경 (0) | 2018.03.13 |
textField, textView (0) | 2018.03.13 |
네비게이션 바 색상 변경 (0) | 2018.03.13 |