UIDevice-PasscodeStatus icon indicating copy to clipboard operation
UIDevice-PasscodeStatus copied to clipboard

Status is always LNPasscodeStatusEnabled when accessing from a Today notification widget

Open mikezliu opened this issue 10 years ago • 1 comments

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.

mikezliu avatar Jan 20 '15 00:01 mikezliu

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.

liamnichols avatar Sep 03 '15 14:09 liamnichols