Skip to content

Instantly share code, notes, and snippets.

@Sunnyztj
Created January 10, 2014 02:24
Show Gist options
  • Save Sunnyztj/8345960 to your computer and use it in GitHub Desktop.
Save Sunnyztj/8345960 to your computer and use it in GitHub Desktop.
change UITextField
- (void) textViewDidEndEditing:(UITextView *)textView
{
CGRect frame = mTextView.frame;
frame.size.height = mTextView.contentSize.height;
mTextView.frame = frame;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment