Support for iOS 7 UI tweaks and backwards compatibility with iOS 6.