UIKeyboardWillHide not triggered

前端 未结 5 1295
深忆病人
深忆病人 2021-01-20 12:43

I read many post here about this topic, but I wasn\'t able to find an answer to my question, so, hope you won\'t be bored about another UIKeyboard post :-)

In my vi

5条回答
  •  囚心锁ツ
    2021-01-20 13:02

    Check, if keyboardDone really gets called (i.e. with NSLog(@"%@", @"keyboard done called");). If its get called, but resignFirstResponder does not help dismissing the keyboard, then try this:

    [self.view endEditing:YES];

    Please also provide your keyboardWillHide: method.

提交回复
热议问题