Suppress deprecation warning in iOS 7