Home Ask Login Register

Developers Planet

Your answer is one click away!

sneakyV February 2016

Can I tell whether the user unlocked the iPhone with TouchID or passcode when acting on a notification?

I would like to make an app which will require TouchID identification (not passcode). I would like them to "swipe right" on a notification and unlock with TouchID. If they unlock with passcode, I want the app to know. Is that possible?

Thanks in advance.


Paulw11 February 2016

There is no indication as to whether the device was unlocked by a passcode or a TouchID, and if you think it through there would be little benefit in diferentiating between the two.

If you know the passcode you can modify TouchID enrolments, therefore TouchID isn't inherently more secure in terms of an unlock event. There may be some benefits in terms of preventing people from 'shoulder surfing' a passcode and it is certainly more convenient.

Post Status

Asked in February 2016
Viewed 3,525 times
Voted 10
Answered 1 times


Leave an answer

Quote of the day: live life