Easy way to detect iPhone hardware volume buttons press, no deprecation warnings and Apple rejection. Works on devices with iOS 7.0 and above. See VTVolumeButtonsObserver
class for the reference.
VitalyTimofeev/VTVolumeButtonsObserver
Simple solution to get volume buttons notification on iPhone
Objective-CMIT