开发者

Position of an imageView based on the volume of the volume button of the device

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜