You can use any of these as a switch:
Add a switch and choose its action. Go to Settings > General > Accessibility > Switch Control > Switches.
Turn on Switch Control. Go to Settings > General > Accessibility > Switch Control, or use the Accessibility Shortcut-see Accessibility Shortcut.
Turn off Switch Control. Use any scanning method to select Settings > General > Accessibility > Switch Control.
Bail out! Triple-click the Home button at any time to exit from Switch Control.