1. Go to Settings>Network & Internet>Hotspot & Tethering [Wi-Fi hotspot] to enable the personal hotspots.
2. Tap on QR code. The Wi-Fi QR code will then be generated. Show this QR code and let someone scan it to connect to your Hotspot.
* If you have set up a passcode, it will ask you to verify your identity first before providing the QR code.