I try to use
err == errSecAuthFailed
like here link
This works fine on simulator but fails on ios Device.. does someone know why?? As you can see on the link Apple also uses this. When I try this on device I get
Use of undeclared identifier 'errSecAuthFailed'
THX!
Try adding #import <Security/SecBase.h>
on top of the file where the error occurs.