To turn on the flashlight on your iPhone, swipe down from the top-right corner of your screen to open the control center. Then, tap the flashlight icon. To turn it off, tap the icon again.