1

is there any way to check whether the screen lock or the pass code is enabled using any public API.

Suchi
  • 129
  • 11

1 Answers1

0

This may be possible by checking the NSFileProtectionKey property of a given file. Please have a look at the following resolution:

Check NSFileProtectionKey

Community
  • 1
  • 1
kimar
  • 191
  • 2
  • 8
  • Hi,I have checked the link but every time its returning the same value NSFileProtectionKey = NSFileProtectionNone; – Suchi Jul 13 '12 at 12:10