ObjectAL-for-iPhone
ObjectAL-for-iPhone copied to clipboard
AudioSessionProperty deprecated - warnings in iOS 7
AudioSessionProperty is deprecated in favor of AVAudioSession properties. Building ObjectAL with iOS 7 will bring up corresponding deprecated warnings (about 5) in OALAudioSession, first couple methods under the "Internal Use" pragma mark.
See dev forum thread: https://devforums.apple.com/message/859752#859752
I just disabled deprecated warnings for now:
pragma clang diagnostic push
pragma clang diagnostic ignored "-Wdeprecated-declarations"
// ...
pragma clang diagnostic pop // deprecated warning
Fixed in https://github.com/kstenerud/ObjectAL-for-iPhone/commit/e409b21c021bf032d268f5338dac60dd50603cc1