ipad iphone开发
Your iPad and iPhone come with on-screen touch keyboards, but there’s nothing stopping you from connecting a good old fashioned physical keyboard and typing on that. Here’s how to get started.
您的iPad和iPhone带有屏幕触摸键盘,但是没有什么可以阻止您连接老式的物理键盘并在上面打字。 这是入门方法。
你需要什么 (What You’ll Need)
Fortunately, you don’t need a whole lot to make this happen—just a Bluetooth keyboard. Pretty much any Bluetooth keyboard will work. Personally, I’m a big fan of Anker’s various compact keyboards, including this one ($18), which works with any computer and mobile device, but also has keys that are designed to work for iOS devices. The Logitech K380 ($30) is similar as well, but it also has easy-switch buttons that let you switch on the fly between devices that are all paired to the keyboard.
幸运的是,您不需要很多东西就能做到这一点-只需一个蓝牙键盘。 几乎所有蓝牙键盘都可以使用。 就个人而言,我是Anker各种紧凑型键盘的忠实拥护者,包括这款 (18美元)的键盘, 该键盘可与任何计算机和移动设备一起使用,但也具有旨在用于iOS设备的键。 Logitech K380 (30美元)也很相似,但它还具有易于切换的按钮,可让您在所有与键盘配对的设备之间即时切换。
Of course, you can also buy Bluetooth keyboards that are designed specifically for iPads, often as part of “cases” that attempt to turn the iPad into a sort of ersatz laptop. However, they’re usually way more expensive than just regular Bluetooth keyboards. Apple’s own Smart Keyboard is $169, but it’s probably the closest you’ll get to native keyboard support if you have an iPad Pro.
当然,您也可以购买专为iPad设计的蓝牙键盘,通常是作为“保护套”的一部分,试图将iPad转变为ersatz笔记本电脑。 但是,它们通常比普通的蓝牙键盘贵得多。 苹果自己的智能键盘售价为169美元 ,但如果您拥有iPad Pro,它可能是最接近本地键盘支持的产品。
If you don’t have an iPad Pro, or you just want something a little cheaper, you can get some keyboard cases for a decent price, like Zagg’s Slim Book ($55) and Anker’s Folio ($33), to name a couple.
如果您没有iPad Pro,或者只想买便宜一点的东西, 可以花一些钱买一些键盘盒,例如Zagg的Slim Book (55美元)和Anker的Folio (33美元)。
If you want to use your MacBook’s keyboard, you can download software, like Type2Phone or 1Keyboard for $10, but for this guide we’ll be focusing on using a standard Bluetooth keyboard.
如果您想使用MacBook的键盘,则可以10美元的价格下载诸如Type2Phone或1Keyboard之类的软件,但在本指南中,我们将重点介绍使用标准的蓝牙键盘。
配对蓝牙键盘 (Pairing a Bluetooth Keyboard)
The pairing process is the same as it is for other Bluetooth peripherals. Start by opening the Settings app on your iPad or iPhone and select “Bluetooth”.
配对过程与其他蓝牙外围设备的配对过程相同。 首先打开iPad或iPhone上的“设置”应用,然后选择“蓝牙”。
Enable Bluetooth if it’s turned off.
如果蓝牙已关闭,请启用它。
Next, turn on your Bluetooth keyboard and make it discoverable. There’s often a dedicated button on the keyboard for this—usually it’s the Bluetooth symbol. (Some keyboards may require you to press the Fn key if the Bluetooth symbol is on a regular key.)
接下来,打开您的蓝牙键盘,使其可被发现。 键盘上通常有一个专用按钮,通常是蓝牙符号 。 (如果蓝牙符号位于常规键上,则某些键盘可能会要求您按Fn键。)
Once your keyboard is in pairing mode, it will appear in the list of connectable Bluetooth devices on your iPad or iPhone under “Other Devices”. Tap on it to connect it.
键盘进入配对模式后,它将出现在iPad或iPhone上可连接的蓝牙设备列表中的“其他设备”下。 点击它以连接它。
Next, enter in the sequence of numbers followed by the “Enter” key on your keyboard.
接下来,按数字顺序输入,然后按键盘上的“ Enter”键。
That’s all there is to it! Your Bluetooth keyboard will now be connected to your iPad or iPhone and you can begin to type away without having to use the on-screen virtual keyboard. Both your keyboard and your iPad or iPhone will remember that they’re paired. So the next time you want to use your keyboard, just power it on—you won’t have to go through the pairing process again.
这里的所有都是它的! 您的蓝牙键盘现在将连接到iPad或iPhone,您无需使用屏幕上的虚拟键盘就可以开始键入。 键盘和iPad或iPhone都会记住它们已经配对。 因此,下次要使用键盘时,只需打开电源即可-无需再次进行配对过程。
基本打字 (Basic Typing)
When you open up a document or note on your iOS device, just tap on a text field with your finger to put the cursor there and start typing. Since there’s no mouse support, you’ll still have to mostly navigate the interface with your finger like you normally would.
当您在iOS设备上打开文档或记事时,只需用手指点击文本字段,将光标放在此处并开始输入即可。 由于没有鼠标支持,因此您仍然需要像平常一样用手指在界面上进行导航。
While you type, the on-screen keyboard won’t appear as long the Bluetooth keyboard is paired, so this gives you more screen real estate while working. As soon as you power off your Bluetooth keyboard and tap in another text field, the on-screen keyboard will come right back.
键入时,只要蓝牙键盘已配对,屏幕上的键盘就不会出现,因此在工作时可以为您提供更多的屏幕空间。 关闭蓝牙键盘的电源并点击另一个文本字段后,屏幕上的键盘将立即返回。
键盘快捷键 (Keyboard Shortcuts)
iOS includes a variety of keyboard shortcuts that you can use with your Bluetooth keyboard as well, including Command+C to copy, Command+V to paste, and Command+Z to undo, just like on any Mac. (If you’re using a keyboard designed for Windows PCs, the Windows key will act as the Command key.) App developers can also add support for their own app-specific keyboard shortcuts, so your favorite app may have its own shortcuts aside from the default ones. Here are a handful of shortcuts that you can use:
iOS包括各种键盘快捷键,您可以将它们与蓝牙键盘一起使用,包括Command + C进行复制, Command + V进行粘贴以及Command + Z进行撤消,就像在任何Mac上一样。 (如果您使用的是为Windows PC设计的键盘,则Windows键将用作Command键。)应用程序开发人员还可以添加对自己的特定于应用程序的键盘快捷键的支持,因此您最喜欢的应用程序可能除具有自己的快捷键外默认的。 您可以使用以下几种快捷方式:
Command+Tab: Switches between apps
Command + Tab:在应用程序之间切换
Command+Space: Spotlight Search
Command + Space: Spotlight搜索
Command+T: Open new tab in Safari
Command + T:在Safari中打开新标签页
Command+Shift+R: Enable Reader Mode in Safari
Command + Shift + R:在Safari中启用阅读器模式
Command+N: Starts a new email in Mail app, a new note in Notes, or a new event in the Calendar app
Command + N:在Mail应用程序中启动新电子邮件,在Notes中启动新笔记或在Calendar应用程序中启动新事件
Depending on which Bluetooth keyboard you have, there also might be keys dedicated to specific iOS functions, like a home button, Spotlight Search button, and more. And of course, the above shortcuts listed are just a small handful of what you can do. For a full list of keyboard shortcuts, check out this page on Apple’s support site, which is meant for Mac, but most of them work on iOS as well.
根据您使用的蓝牙键盘的不同,可能还会有专用于特定iOS功能的键,例如主屏幕按钮,Spotlight搜索按钮等。 当然,上面列出的快捷方式只是您可以做的一小部分。 有关键盘快捷键的完整列表,请访问Apple支持网站上的此页面 ,该网站适用于Mac,但大多数也可在iOS上使用。
翻译自: https://www.howtogeek.com/190998/the-htg-guide-to-using-a-physical-keyboard-with-your-ipad-or-iphone/
ipad iphone开发