Volume bar on my iPhone 4 has disappeared?

My volume bar has disappeared on my iPhone 4 when I play music through the speakers. I can't hear the typing of my keyboard either, but when I go into voice memos I can listen to them. After that I go into my music library and play music and the volume bar is there for about 5 second and disappears again. I have tried rebooting it and it's done nothing. The sound will just come and go. What the hell is wrong with my iPhone?

Please and thank you.

P.s it isn't jail broken either.

My iPhone used to do that too but i found out that it isn't bad all you have to do is turn off you iPhone and restart it

  • Why doesn't my iPhone 4S volume bar don't work? Okay so I found out like three days ago that my volume doesn't work like once I try pressing on the + or - on the volume it just says ringer and it doesn't go high or low, it also doesn't work for like an app example vine or fun run, or music. I tried going to settings, general, reset, and reset all settings and its still not working.
  • Why does the volume bar on my iphone disappear and appear whenever it wants to? I have an iPhone 4. If I try and listen to music the volume bar goes away and when I try to adjust the volume with the + and - buttons the volume bar under "ringer" is gone. I've tried restarting my phone, fixing the settings, plugging in my earphones and cleaning where you plug them in and connecting my phone to my laptop but nothing seems to work.
  • Why does't the volume bar on my iPhone 4s appear? I can't play music out loud with my iPhone. The volume bar only appears when I have headphones in and it still will disappear with them in sometimes. Could have to do with something getting wet? I've updated and rebooted my iPhone but the volume bar still doesn't appear.
  • Volume slider disappeared on iPhone 4s I was going on my phone to listen to music but the volume slider wasn't there so i turned off and turned on my phone and it was back but then later while i had ear buds in it went away again so i just unplugged it and put it back in. Its disappeared again now and i don't know what to do?