I have a UITextField
that moves the view up/down when the keyboard moves in/out.
- (IBAction)moveUp;
- (IBAction)moveDown;
I move the view up by "Editing Did Begin" and down by "Did End On Exit" (which I found in some thread here in StackOverflow).
However, the view does not move down, when the button (bottom right) "hide keyboard" is hit. This obviously does respond to "Editing Did End".
The strange thing is, if I also connect "Editing Did End" to moveDown, the method moveDown will be invoked 2x (and moves to far down screen!)
If I then diconnect-connect "Did End On Exit", the view does not disappear by hitting the 'return' button, as it did before.
Any idea what goes wrong here?
//Stefan