0

I am creating an app regarding movie player. In movie player I played videos. It worked fine but I want to mute the volume through coding. I want to set one button for volume mute. When I click the button it performs actions for mute. How can I proceed for this?

Scizor_g45
  • 152
  • 9
Nari
  • 213
  • 5
  • 16

1 Answers1

0

Hi there is no such mute option available. But you can set volume through codebase. Check this Apple documentation, it might be helpful to you:

http://developer.apple.com/library/ios/#documentation/mediaplayer/reference/MPMusicPlayerController_ClassReference/Reference/Reference.html

Mrunal
  • 13,982
  • 6
  • 52
  • 96