Every iPhone has a few physical buttons, including Volume Up and Volume Down. If these buttons stop working you can use “Assistive Touch”.
To get started, open the “Settings” on your iPhone.
Next, go to the “Accessibility” settings and select “Touch.”
Go to “Assistive Touch” and toggle it on at the top of the screen.
You’ll notice a floating button appear on the screen. Now we can decide how you want the volume shortcuts to work. We’ll add them to the shortcut menu by selecting “Customize Top Level Menu.”
Select one of the shortcuts and replace it with “Volume Up.”
Now repeat that same step with a different shortcut and replace it with “Volume Down.”
If you want even easier access to adjusting the volume, you can put “Volume Up” and “Volume Down” as the Single-Tap, Double-Tap, or Long Press options for the floating button.
Simply tap the floating button and select the “Volume Up” or “Volume Down” shortcut. If you used the custom tap options, you only need to tap the floating button however many times you chose for the shortcuts.