TouchId Authentication -Remove

When I add authentication identifier identifier on the first screen, it looks like a warning with "TouchId for the name of your application - Local message - Enter password-Cancel" How to remove this warning?

+4
source share
3 answers

I think you cannot remove this warning!

+3
source

From iOS 9, Apple provides an API to remove the default alert popup. To do this, we just need to invalidate the existing LAContext policy.

authenticationContext.invalidate ()

Notes: -

  • , LAErrorAppCancel.

  • , , LAErrorInvalidContext.

  • , , .

0

I used this code to clear the warning fingerprint view

Context.invalidate()
Context = nil
0
source

Source: https://habr.com/ru/post/1607622/


All Articles