I use the following code for fadeout and scroll through my text box, but I just noticed that when I use something like [textField setText:@"something"]; or [textField resignFirstResponder]; I'm losing a scroll. Anyone who would like to explain why I get this behavior and workaround.
[UIView animateWithDuration:0.5 delay:0.0 options:UIViewAnimationCurveEaseInOut animations:^ { CGRect Frame = textField.frame; Frame.origin.y=100; textField.frame=Frame; textField.alpha = 0.0; } completion:^(BOOL finished) { textField.hidden = YES; }]; [textField resignFirstResponder]; }
Segev source share