Checking from app whether a passcode lock is set for Ipad
Hi,
Since my app would be dealing with sensitive data of the user, I would like to know if there is a way I can check from my app whether there is a Passcode Lock set for the Ipad.
The reason I need to check this is because say if the user has in the app some information and then keeps it on the table and goes out for a couple of minutes. The ipad/iphone by default, goes to standby mode. If a passcode lock had been set, only when the correct passcode is entered, would anyone be able to use the ipad. This would provide an additional security measure to prevent any passerby to view the sensitive data from the app.
So basically, I would like my app to check whether the passcode lock is set and if not prompt the user to do it.
Is this possible and if so, would any one be able to point me in the right direction?