Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在编写一个 iPad 应用程序,需要我以编程方式触发空格键,但我不知道如何,任何想法都会受到赞赏。
textView.text = [textView.text stringByAppendingString: @" "];
而不是直接访问键盘,只需编辑键盘本来可以编辑的文本......使用
myTextView.text = [myTextView.text stringByAppendingString:@"New text to be added"];