Ring/Silent Switch button???

Discussion in 'iOS Programming' started by priyank.ranka, Jan 12, 2009.

  1. priyank.ranka macrumors member

    Jun 11, 2008
    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. priyank.ranka thread starter macrumors member

    Jun 11, 2008
    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