开发者

Textfield in the keyboard

开发者 https://www.devze.com 2023-02-05 22:17 出处:网络
How do you mak开发者_运维技巧e a keyboard have a textfield inside like the messages app ?never tried but you can try this -

How do you mak开发者_运维技巧e a keyboard have a textfield inside like the messages app ?


never tried but you can try this -

You can programmatically

  1. set a tool bar.
  2. set a textfield.
  3. set the tool bar as the inputAccessoryView of the textfield.
  4. make the textfield the first responder.


It depends what you're trying to do with it. You could simply create a view that looks like the keyboard section and show it right above the keyboard. If you're trying to actually send SMSs/emails, look up the MessageUI documentation.

0

精彩评论

暂无评论...
验证码 换一张
取 消