Compatibility with iOS 7