Do you like to listen to music when getting into bed for the night but often doze off without switching the iPhone off? You can use a timer to help you shut down the music. To do this, tap on Clock > Timer > When Timer Ends. Scroll down and tap Stop Playing. Then, set a timer (say 30 mins) and tap Start. Now you may play any music and it will be turned off after 30 mins.