I want to use my iPhone to train at the gym.
Problem is, I do not feel like being interrupted midway through squats with a text or phone call.

Is there anyway to set the iPhone so that if at the gym, you just can play music through pandora or iTunes library and all calls, texts, alerts will be disabled so you are not interrupted?