Using the right check for iOS 7.