Tengo problemas para renunciar al teclado después de hacer clic en el botón de hecho. Estoy usando textViewEn textView cuando hago clic en el botón de hecho el teclado no está renunciando
-(BOOL)textViewShouldReturn:(UITextView *)textView
{
if(textView == addressView)
{
if(isNotif)
{
[self setViewMovedUp:NO];
}
textView.text= [textView.text stringByTrimmingCharactersInSet:[NSCharacterSet whitespaceAndNewlineCharacterSet]];
[addressView resignFirstResponder];
}
return YES;
}
En lugar de renunciar al teclado, el cursor está llegando a una nueva línea en el campo de texto. Por favor, ayúdenme.
Gracias Praveena.
No existe tal delegado - (BOOL) textViewShouldReturn: (UITextView *) textView – KingofBliss