If you want to connect your device to the Internet and there is no connection available, you can create a hotspot with your iPhone.
Follow these steps to create a hotspot on your iPhone.
- Go to Settings> Tethering and portable hotspot> Set up Wi-Fi hotspot
- Give your Hotspot a name and choose whether you want to use a password
- Connect your device to the hotspot that you have generated