volume control?

Discussion in 'iOS Development' started by dog123456, Feb 18, 2010.

  1. dog123456

    dog123456 New Member

    Joined:
    May 7, 2009
    Messages:
    3
    Likes Received:
    0
    Device:
    2G iPod touch
    does anyone no if it is possible to control the volume of an mp3 that is being played from a different uivew. plz help cant figure it out
  2. J-Phone

    J-Phone Active Member

    Joined:
    Dec 1, 2009
    Messages:
    4,868
    Likes Received:
    10
    Device:
    iPhone 4 (Black)
    you want to control a ipod from what?
  3. Axis

    Axis Super Moderator Staff Member

    Joined:
    Dec 2, 2007
    Messages:
    6,288
    Likes Received:
    133
    Device:
    iPhone 4S (White)
    You're making me nervous...

    A view should not be responsible for a task such as that (even if you are just calling an API method).
  4. spoonforknife

    spoonforknife Retired Moderator

    Joined:
    Nov 15, 2007
    Messages:
    6,896
    Likes Received:
    317
    If you're using AVAudioPlayer, which you should be using for a long MP3 file, you can use a UISlider to adjust the volume property of AVAudioPlayer.

Share This Page