Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/ios/99.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/swift/19.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Ios iWatch应用程序是否有类似于LocalAuthentication的功能?_Ios_Swift_Xcode_Watchos_Localauthentication - Fatal编程技术网

Ios iWatch应用程序是否有类似于LocalAuthentication的功能?

Ios iWatch应用程序是否有类似于LocalAuthentication的功能?,ios,swift,xcode,watchos,localauthentication,Ios,Swift,Xcode,Watchos,Localauthentication,在iPhone应用程序上,如果我们想使用默认身份验证(用于解锁iPhone)对应用程序进行身份验证,苹果提供了一个名为“LocalAuthentication”的框架 通过使用这些,我们可以通过以下方式验证我们的应用程序: 密码 触摸ID 面ID 我想知道watchOS中的watch应用程序是否有类似的功能 我想用用于解锁iWatch的密码验证我的独立iWatch应用程序。否,因为手表是个人设备,所以在用户将其从手腕上取下之前,它始终处于解锁状态(假设他们启用了手腕检测)。watchOS没有

在iPhone应用程序上,如果我们想使用默认身份验证(用于解锁iPhone)对应用程序进行身份验证,苹果提供了一个名为“LocalAuthentication”的框架

通过使用这些,我们可以通过以下方式验证我们的应用程序:

  • 密码
  • 触摸ID
  • 面ID
我想知道watchOS中的watch应用程序是否有类似的功能


我想用用于解锁iWatch的密码验证我的独立iWatch应用程序。

否,因为手表是个人设备,所以在用户将其从手腕上取下之前,它始终处于解锁状态(假设他们启用了手腕检测)。watchOS没有本地身份验证框架,因为这样的流不是一个“观看体验”正确的,但在磨损之后,它需要密码来解锁…对。我只想用它来打开和进一步使用我的iWatch应用程序。这不适用于watchOS应用程序。