removing keyboard from Screen without calling resignFirstResponder

后端 未结 4 1310
青春惊慌失措
青春惊慌失措 2021-01-18 01:57

I have a custom View (NotifyView) added on UIWindow with a dismiss button(which remove it from UIWindow). This view is added when a PU

4条回答
  •  耶瑟儿~
    2021-01-18 02:28

    The problem it is, when you want to give back the focus.

    I have implemented as listening each textfield and caching which is the latest. Than resign only that one ( in push ) after that restore state, require focus for that.

提交回复
热议问题