简体   繁体   English

如何使可视键盘出现在UIToolBar上方?

[英]How can I make visual keyboard appear above my UIToolBar?

I have a UITextView at the middle of a View, a UIToolBar at the bottom of a View. 我在视图的中间有一个UITextView,在视图的底部有一个UIToolBar。 I want a visual keyboard to appear above a UIToolBar when I touch on UITextView. 我希望当我触摸UITextView时,可视键盘出现在UIToolBar上方。 How can I do it? 我该怎么做?

You can't. 你不能 The position of the keyboard isn't under the control of the application. 键盘的位置不受应用程序的控制。 (Oh, you could muck around in the UIApplication's UIWindow list to find the keyboard window and move it, but then Apple wouldn't accept your app.) (哦,您可以在UIApplication的UIWindow列表中四处寻找键盘窗口并移动它,但是Apple不会接受您的应用程序。)

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM