In my app I am trying to detect which user is trying to log in using touchId. Is there any mechanism which can help me distinguish between users depending on touch Ids of users.
I assume that you are only assuming 1 one user per device since touch id isn't really setup for multiple users on a single device.
Since you already know which device your app is running on there would be no need to get this information from TouchID.
来源:https://stackoverflow.com/questions/34613951/know-which-user-logging-into-app-depending-on-touchid-in-ios