keyboardWillShow called twice

前端 未结 3 746
暗喜
暗喜 2021-01-02 07:32

I have a view with keyboard notifications such as keyboardWillShow and keyboardWillHide

All the codes handles with the notification I use i

3条回答
  •  孤街浪徒
    2021-01-02 07:43

    For me, changing inputAccessoryView would fire another call of keyboardWillShow because the height of an input accessory view affects the overall keyboard height.

提交回复
热议问题