ios - Different AVAudioSessionCategory for headphone use and no headphone use -
is possible setup different avaudiosessioncategory:s headphone use , non headphone use?
i haven't found direct way it, , no options.
it looks if can see route active etc , listen route changes, feasible go long way of trying accomplish way ourselves?
let's want avaudiosessioncategoryplayback when headphones plugged in, , when not want other category or category/option setup etc.
Comments
Post a Comment