I have a view with keyboard notifications such as keyboardWillShow
and keyboardWillHide
All the codes handles with the notification I use is taken from Apple's sample code "KeyboardAccessory"
When I first enter this view, everything works fine.
But when I return to this view from its subviews, every time I tap a button that says:
[myTextField becomeFirstResponder];
the keyboardWillShow
and keyboardWillHide
methods will be called twice every time.
It's really confusing,
Could anyone helps me with this?
really appreciate!