Hi
I want to position an imageView based on the amount of volume of the device, is it possible to obtain how much sound volume the device (iphone) is actually set to?
Hi
I want to position an imageView based on the amount of volume of the device, is it possible to obtain how much sound volume the device (iphone) is actually set to?
You will need to write a property listener callback function that listens for changes to the kAudioSessionProperty_CurrentHardwareOutputVolume
property.
The answer to this question gives an example of writing and using the property listener callback function.