开发者

Textfield in the keyboard

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜