Ring/Silent Switch button???

Discussion in 'iPhone/iPad Programming' started by priyank.ranka, Jan 12, 2009.

  1. macrumors member

    Joined:
    Jun 11, 2008
    #1
    Hi EveryOne,
    I want to capture the event of user using ringer/silent button into my game.....If user has press this button to silent mode the game should be silent whereas if its in ringer mode sound should be on...ANy help regarding this will be appreciated.
     
  2. thread starter macrumors member

    Joined:
    Jun 11, 2008
    #2
    Hi i hve tried audio sessions which allows to obey ringer/silent key but only system sounds obey that key the sounds from ipod or played by the Audio Queue doesnt obey...plz suggest me wt can i do in order to make sounds played by Audio Queue or ipod music if its active into the application to obey Ringer/Silent key
     

Share This Page