Skip to content

Instantly share code, notes, and snippets.

@TachibanaKaoru
Last active December 25, 2015 20:39
UITextViewのテキスト描画が終わったら微調整してサイズを変更する方法 (http://www.toyship.org/archives/1437)
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