Apple's iOS software automatically introduces delays between repeated passcode attempts. But in newer devices such as the iPhone 6 and 6S, the delay is enforced by a hardware chip called the Secure Enclave.