UITextView in iOS7 clips the last line of text string
The problem is due to iOS 7. In the text view delegate, add this code: – (void)textViewDidChange:(UITextView *)textView { CGRect line = [textView caretRectForPosition: textView.selectedTextRange.start]; CGFloat overflow = line.origin.y + line.size.height – ( textView.contentOffset.y + textView.bounds.size.height – textView.contentInset.bottom – textView.contentInset.top ); if ( overflow > 0 ) { // We are at the bottom of … Read more