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