Stop music with a timer
This is a cool trick for those of you who enjoy falling asleep to music. The problem with that is it'll still be playing when you wake up in the morning, and you've probably just drained most of your battery in the process. Using the hidden 'Stop Playing' timer, you can choose how long you want the music to play for as you drift off to sleep.
To set up the timer, go to the clock app and then tap 'Timer' in the bottom right of the screen. (You can access this from Control Centre: swipe up from the bottom of the Home screen and tap the stylised clock face on the bottom row.) Choose how long you want your timer to last for and then tap 'When Timer Ends'. Scroll down to the bottom of the menu and select 'Stop Playing'.
Press start on the timer and then begin playing your music from the Music app. When the timer ends, the music will fade to a stop. This trick will also work for audiobooks and other media.