Hide keyboard and next line feature when using using text view
<p>I'm using text view, for hiding keyboard i'm doing,</p>

<pre><code>- (BOOL)textView:(UITextView *)textView shouldChangeTextInRange:(NSRange)range replacementText:(NSString *)text {

    if([text isEqualToString:@"\n"]) {
        [textView resignFirstResponder];
        return NO;
    }

    return YES;
}
</code></pre>

<p>but by doing so even if i'm hitting enter button, keyboard gets hide. What to do to go on next line directly? I wanna implement next line feature.</p>
