Route audio to earpiece?
Is it possible to r开发者_如何学Gooute audio such as a local mp3 file to play through the iPhone earpiece instead of speakerphone?
It is possible, yet a bit complicated as it appears. You might want to check the paragraph Audio Session Category Route Overrides in the Audio Sessions Services Reference, to get into the matter.
精彩评论