You can use Airplane Mode to turn off the wireless features on your device while you're flying in an airplane.