MacDonaldsd macrumors 65816 Original poster Sep 8, 2005 1,005 0 London , UK Aug 10, 2008 #1 Hi, How would I go about checking to see whether the iPhone silent/ringer switch is set to silent ?
Ntombi macrumors 68040 Jul 1, 2008 3,822 1,636 Bostonian exiled in SoCal Aug 10, 2008 #2 If you see a red dot, it's set to silent.
MacDonaldsd macrumors 65816 Original poster Sep 8, 2005 1,005 0 London , UK Aug 10, 2008 #3 Sorry if I was not clear, I mean programatically. I don't want to play sounds in my iPhone application if the iPhone is switched to silent.
Sorry if I was not clear, I mean programatically. I don't want to play sounds in my iPhone application if the iPhone is switched to silent.
K kainjow Moderator emeritus Jun 15, 2000 7,958 7 Aug 10, 2008 #4 If there's nothing documented, you could try searching in NSUserDefaults (via dictionaryRepresentation) to see if there is a preference there, but I wouldn't count on it.
If there's nothing documented, you could try searching in NSUserDefaults (via dictionaryRepresentation) to see if there is a preference there, but I wouldn't count on it.
Ntombi macrumors 68040 Jul 1, 2008 3,822 1,636 Bostonian exiled in SoCal Aug 11, 2008 #5 MacDonaldsd said: Sorry if I was not clear, I mean programatically. I don't want to play sounds in my iPhone application if the iPhone is switched to silent. Click to expand... Sorry. Didn't realize this was the programming forum.
MacDonaldsd said: Sorry if I was not clear, I mean programatically. I don't want to play sounds in my iPhone application if the iPhone is switched to silent. Click to expand... Sorry. Didn't realize this was the programming forum.