How to display UIView over keyboard in iOS

前端 未结 7 932
醉话见心
醉话见心 2020-12-05 20:04

I want to create a simple view over keyboard, when users tap \"Attach\" button in inputAccessoryView. Something like this:

Is there an easy way to do it? O

7条回答
  •  伪装坚强ぢ
    2020-12-05 20:43

    You can definitely add the view to your application’s window, and you can also add another window entirely. You can set its frame and level. The level could be UIWindowLevelAlert.

提交回复
热议问题