UIDevice-PasscodeStatus
UIDevice-PasscodeStatus copied to clipboard
Status is always LNPasscodeStatusEnabled when accessing from a Today notification widget
iOS 8.1.2:
I have Security.Framework added to my Today notification widget. Whenever I try to access passcodeStatusSupported and passcodeStatus from inside my widget, it always returns YES and LNPasscodeStatusEnabled regardless of whether or not the device is password locked.
I haven't tested this in today widgets but I imagine this could have something to do with they way that they Keychain operates in an extension.
Unfortunately I don't have the time to test this out but you could try forking and modifying the code to use a shared keychain group instead?
This would be a little bit of a pain to implement as it requires that you set up app groups etc as well.