I searched forums concerning related topics to no avail. My issue is that during iOS development, the sound from my game would sometimes play on the iphone. sometimes it won’t. during the instance where it won’t play its sound, I plug in a headset to hear it playing. I did methods such as blowing the headset jack and resetting the device yet the problem is quite persistent: it won’t play its sound via its speakers but would play once the headset is plugged. so my questions are:
-
is this sound disappearance caused by my iOS dev build or is this a hardware issue?
-
is there a way to for the iphone to check if its using its speakers or headset via debug code?
-
is there a way to force the iphone to play its sound via its speakers/headset?
I'm currently experiencing something similar, I've got a sound that cannot be heard through the iPad 2's speakers, but if you plug in headphones, it is clearly audible, very confusing.
– boddole