Using Apple's Switch Control allows you to access the whole device. To start using it, go to your device's Settings app and select Accessibility > Switch Control.

If you want to learn more, see this Apple Support article on using Switch Control: Use Switch Control to navigate your iPhone, iPad or iPod touch