Skip to content
This repository was archived by the owner on Oct 30, 2018. It is now read-only.

Commit 3f76402

Browse files
author
Ignacio Romero Zurbuchen
committed
Adds textViewShouldBeginEditing/EndEditing methods in sample project
1 parent d851da2 commit 3f76402

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

Examples/Messenger-Shared/MessageViewController.m

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -655,6 +655,16 @@ - (void)scrollViewDidScroll:(UIScrollView *)scrollView
655655

656656
#pragma mark - UITextViewDelegate Methods
657657

658+
- (BOOL)textViewShouldBeginEditing:(UITextView *)textView
659+
{
660+
return YES;
661+
}
662+
663+
- (BOOL)textViewShouldEndEditing:(UITextView *)textView
664+
{
665+
return YES;
666+
}
667+
658668
- (BOOL)textView:(SLKTextView *)textView shouldChangeTextInRange:(NSRange)range replacementText:(NSString *)text
659669
{
660670
return [super textView:textView shouldChangeTextInRange:range replacementText:text];

0 commit comments

Comments
 (0)