“Unlocking it is as easy as looking at it and swiping up,” he explained.

When it failed to unlock, he told the audience: “Let’s try that again.”

After being prompted to enter his passcode, Federighi was forced to grab a backup device to continue with the demonstration.

Twitter saw the funny side: