MacDonaldsd macrumors 65816 Original poster Aug 10, 2008 #1 Hi, How would I go about checking to see whether the iPhone silent/ringer switch is set to silent ?
MacDonaldsd macrumors 65816 Original poster 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 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 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. 😱