Question: how to connect an iphone to a keyboard?
Answer: Turn the Bluetooth keyboard on if it isn't already. ...  Launch the Settings app on your iPhone or iPad. Tap on Bluetooth. Make sure Bluetooth is set to On, then let it search for devices. Tap on a Bluetooth keyboard, when it appears, to pair.