根据iOS中的touchid了解哪个用户登录应用 [英] Know which user logging into app depending on touchid in iOS

查看:88
本文介绍了根据iOS中的touchid了解哪个用户登录应用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在我的应用中,我试图检测哪个用户尝试使用touchId登录。是否有任何机制可以帮助我根据用户的触摸ID区分用户。

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.

推荐答案

我假设你只是假设每个设备只有一个用户,因为触摸ID并非真正为单个设备上的多个用户设置。

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.

由于您已经知道应用程序运行的设备,因此无需从TouchID获取此信息。

Since you already know which device your app is running on there would be no need to get this information from TouchID.

这篇关于根据iOS中的touchid了解哪个用户登录应用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆