简体   繁体   English

如何以编程方式强制浮动键盘?

[英]How can I force a floating keyboard programmatically?

Is there a way to programmatically enforce a keyboard to be floating when it appears?有没有办法以编程方式强制键盘在出现时浮动? I'm trying to implement this on an iPad app for a UITextField .我正在尝试在 iPad 应用程序上为UITextField实现此功能。 The reason is that in floating mode it presents the decimal pad, which is what I want.原因是在浮动模式下它会显示小数点,这正是我想要的。

There is no way to force the floating keyboard, unfortunately.不幸的是,没有办法强制浮动键盘。

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

相关问题 如何以编程方式强制在 UISearchBar 中进行搜索? - How can I programmatically force a search in the UISearchBar? 如何强制我的应用使用自定义键盘? - How can I force my app to use my custom keyboard? 如何在我的iOS应用程序中以编程方式引发键盘事件 - How can I raise Keyboard events programmatically in my iOS application 如何在IOS中以编程方式表示键盘触摸事件? - How can I represent a keyboard touch event programmatically in IOS? 如何以编程方式检查 iOS 应用程序中是否存在键盘? - How can I programmatically check whether a keyboard is present in iOS app? 如何以编程方式向自定义键盘以及类别添加页面(类似于Apple emoji表情键盘)? - How can I programmatically add pages to my custom keyboard as well as categories (similar to Apple emoji Keyboard)? 如何强制我的键盘在 Swift 中启动我的程序? - How can I force my keyboard to be up on my program's start in Swift? 测试期间如何在iOS模拟器中强制/设置右键盘? - How can I force/setup the right keyboard in the iOS Simulator during tests? 有没有办法在iOS Swift中以编程方式“强制”键盘关闭? - Is there a way for “force” the keyboard to dismiss in iOS Swift programmatically? 如何以编程方式触发iOS元素上的键盘焦点(Tab键)事件? - How can i trigger keyboard focus (tab key) event on an element in iOS programmatically?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM