Programmatically detect whether iOS passcode is enabled or not Programmatically detect whether iOS passcode is enabled or not ios ios