Last active
December 25, 2015 20:39
-
-
Save TachibanaKaoru/7036168 to your computer and use it in GitHub Desktop.
UITextViewのテキスト描画が終わったら微調整してサイズを変更する方法
(http://www.toyship.org/archives/1437)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CGRect newFrame = self.myTextView.frame; | |
newFrame.size.height = self.myTextView.contentSize.height; | |
self.myTextView.frame = newFrame; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment