Swift 4: Easy Trick to Auto Sizing UITextView in Real Time


https://youtu.be/0Jb29c22xu8?t=9m17s   text 양에 따라서 text view크기가 저절도 조절되게 하는 작업

UITextView

view.safeAreaLayoutGuide

[ ].foreach{ }

UIFont.preferedFont()

UITextViewDelegate

textViewDidChange

텍스트뷰obj.sizeThatFits

텍스트뷰obj.isScrollEnabled

Comments are closed.

Post Navigation