I'm new to swift and I'm trying to move a UITextField
up when the soft keyboard opens.
When I call view.frame.origin.y = -150
from the UIViewController
, the UIView
is moved but the UITextField
inside it is not. (The UITextField
"jumps" and animates back to its original position.)
It was working some time ago and I'm not sure what happened.