Cursar move to the next line using textview

Posted by user990918 on Stack Overflow See other posts from Stack Overflow or by user990918
Published on 2012-11-06T10:58:48Z Indexed on 2012/11/06 11:00 UTC
Read the original article Hit count: 117

Filed under:

Hi friends i am trying to move curser move to the next line. it is worked but when i enter a character in textview curser again back to first line. please help me any one. i am writing below code.` if (textView == mailBodyTxtVew) {

    textView.text= [textView.text stringByTrimmingCharactersInSet:[NSCharacterSet whitespaceAndNewlineCharacterSet]];
    //[textView resignFirstResponder];
   // return NO;
}

`

© Stack Overflow or respective owner

Related posts about objective-c