check for constant available only for iOS8+