How to pull up a UIKeyboard without a UITextField or UITextView?
问题 I'm currently developing an OpenGL ES game for the iPhone and iPod touch. I was wondering how I can easily pull up the UIKeyboard? Is there an official, documented possibility to pull up a UIKeyboard without using a UITextField of UITextView? 回答1: It's not "officially" possible - you can't access the UIKeyboard object at all while staying within Apple's guidelines. Creating an invisible UITextField, then calling [textField becomeFirstResponder] would do the job - you could even subclass