Explicitly check for iOS 6 instead of != 7.