It is possible to show keyboard without using UITextField and UITextView iphone app?

前端 未结 6 1207
执笔经年
执笔经年 2021-01-31 15:53

I am working in iPhone messaging based app.

I want to show keyboard with keyboard inputAccessoryView in keyboard without using UITextView and

6条回答
  •  猫巷女王i
    2021-01-31 16:31

    For anyone, who wants to show keyboard without UITextField/UITextView for some reasons, could easily extend some view, which requires text input by implementing UIKeyInput protocol and canBecomeFirstResponder method.

提交回复
热议问题