jpsim / JPSVolumeButtonHandler

JPSVolumeButtonHandler provides an easy block interface to hardware volume buttons on iOS devices. Perfect for camera apps!
MIT License
333 stars 90 forks source link

using deprecated method setVolume: #4

Closed markusfassbender closed 4 years ago

markusfassbender commented 9 years ago

[[MPMusicPlayerController applicationMusicPlayer] setVolume:(float)volume]; is deprecated and we don't know when apple will remove it. i think there is currently no alternative, but maybe this could be solved in future? thanks for this nice class

jpsim commented 9 years ago

I'm also unaware of a better alternative, so we'll keep as-is until we have other options.

dirkmcpherson commented 9 years ago

Do you know if apps are accepted into the iOS store using this class?

It's very useful, thanks for building it.

jpsim commented 9 years ago

Do you know if apps are accepted into the iOS store using this class?

Yes, there are apps on the App Store using this library.