If you hit the power button three times on an iPhone, it will put the phone into airplane mode.