Open Control Center and tap Settings.
Navigate to Network & Internet > Wi-Fi.
Tap the Wi-Fi network you're currently using.
Select Share.
Confirm your identity with your fingerprint or PIN.
The Wi-Fi QR code and password will appear. Scan the QR code with the other device or enter the password manually.