iphoneresignfirstresponderabpersonviewcontroller

ResignFirstResponder in ABNewPersonViewController after editing


On a class that subclasses ABNewPersonViewController in edit mode, I am loading a transparent view(xib file).

When I am doing some edits, the keyboard pops up and even after I am loading the next view, the keyboard won't dismiss.

Where should I be resigning the first responder?

enter image description here


Solution

  • The easiest way is to call endEditing on the view.