蓝牙扫描仪设置系统范围的键盘,UITextFields不会显示软键盘上的应答器 [英] Bluetooth Scanner sets system-wide keyboard, UITextFields wont show soft keyboard on responder

查看:188
本文介绍了蓝牙扫描仪设置系统范围的键盘,UITextFields不会显示软键盘上的应答器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这是一个有点大,我不知道有一个答案。

This is a bit curly, and I am not sure there is an answer.

我有一个简单的应用程序,使用配对的iPhone手持式扫描仪蓝牙保持包裹的卡车后面的到来名单。

I have a simple application that uses a handheld bluetooth scanner paired to an iPhone to keep lists of parcels coming of the back of trucks.

扫描仪的行为,如在键盘上扫描发送字符串。在应用程序的用户必须在设置扫描仪配对。

The scanner acts-as a keyboard sending character strings on scan. In the application the user must pair with the scanner in settings.

一旦扫描完成一个文本框填充了发送字符串。最后一个字符是返回字符,此时的内容被添加到数据源的一个UITableView。

Upon scan complete a textfield is populated with the sent string. The last character is a return char, at which time the contents are added to a datasource for a UITableView.

问题是这样的;一旦扫描仪一旦使用,该系统的看起来的认识到它作为唯一的用户输入。任何未来的尝试弹出软键盘失败。这超越了扫描应用程序完全〜退出应用程序,并尝试使用苹果的短信应用也不能调出键盘。

The problem is this; Once the scanner has been used once the system seems to recognize it as the only user input. Any future attempt to bring up the soft keyboard fails. This goes beyond the scanning application ~ quitting the app completely and attempting to use Apples SMS app also fails to bring up the keyboard.

的(苹果的法律)或者使用两个或设定$ P $的方式pferred输入设备?似乎有大约蓝牙和配件法律问题万千,如果我的运气,我想知道。有没有人听到任何可能帮助我吗?

Is there any (apple legal) way of either using both or setting preferred input device? There seems to be a myriad of legal issues around Bluetooth and accessories, I am wondering if I am out of luck. Has anyone heard of anything that might help me out?

看来我独自<一个我不href=\"http://stackoverflow.com/questions/3326189/show-iphone-soft-keyboard-even-thought-a-hardware-keyboard-is-connected\">(as在这篇文章中关于iPad的软键盘)

推荐答案

我想你已经pretty多少遮盖了。

I think you've pretty much covered it.

根据 HT4111

您可以停止使用蓝牙配件通过关闭配件,或在iPad上关闭蓝牙。

You can stop using a Bluetooth accessory by either turning off the accessory, or turning off Bluetooth on iPad.

根据Gizmodo的 10 iPad的基本技巧和放大器;技巧的:

According to Gizmodo's 10 iPad Essential Tips & Tricks:

当你连接到你的iPad蓝牙键盘,虚拟键盘将不再出现。 (这是一件好事。)但是,如果由于某种原因,随意,你需要什么样的虚拟键盘?不要取消配对蓝牙。只是......点击苹果实体键盘上的弹出键。它会弹出虚拟之一。

When you have a Bluetooth keyboard connected to your iPad, the virtual keyboard will cease to appear. (This is a good thing.) However, what if, for some random reason, you needed that virtual keyboard? Don't unpair your Bluetooth. Just... Hit the eject key on Apple's physical keyboard. It'll bring up the virtual one.

如果有扫描仪上的关闭按钮,然后打的。如果你有一个实际的蓝牙键盘,然后使用(或达到其弹出按钮,如果它是Apple键盘)。如果你能控制的扫描仪硬件的设计,那么你可以添加一个显示键盘按钮(我不知道哪个键code苹果使用了弹出),如果将其关闭太乏味。

If there's an off button on the scanner, then hit that. If you have an actual bluetooth keyboard, then use that (or hit its eject button if it's an Apple keyboard). If you have control over the design of the scanner hardware, then you can add a "show keyboard" button (I'm not sure which keycode Apple uses for "eject") if turning it off is too tedious.

这篇关于蓝牙扫描仪设置系统范围的键盘,UITextFields不会显示软键盘上的应答器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆