Use Magic Keyboard
You can use Magic Keyboard (available separately) to enter text on iPhone. The keyboard connects via Bluetooth, so you must first pair it with iPhone.
Note: Magic Keyboard may not support keyboard features that are on your device. For example, you can’t enable dictation with Magic Keyboard.
Pair Magic Keyboard with iPhone
Turn the keyboard on.
On iPhone, go to Settings > Bluetooth, then turn on Bluetooth.
Tap the keyboard when it appears in the Other Devices list, then follow the onscreen instructions.
Once it’s paired, the keyboard reconnects to iPhone whenever it’s in range—up to about 33 feet (10 meters). When it’s connected, the onscreen keyboard doesn’t appear.
Using a wireless keyboard, you can switch between keyboards that appear onscreen—for example, English and any keyboards you’ve added for typing in different languages.
On the wireless keyboard, press and hold Shift-Control.
Press the Space bar to cycle through the languages.
Turn off Magic Keyboard
To turn off the wireless keyboard when you’re not using it, turn the switch on the back of the keyboard to Off.