I am wondering how the lifetime of a LAContext
instance from the LocalAuthentication
framework looks like in iOS 8.
In iOS 9 and later, there is the invalidate
method to manually invalidate the current context. If I am not using that method, the LAContext
instance will still be active and store the state of the evaluation. One could say that I could simply nil/release it after usage, but I need the instance across the functionality to do additional things like validation of the availability of it and to enable the invalidate
method at a different point of the VC. Does this also happen on iOS 8? I would ask Apple, because the docs do not clarify this, but I wanted to reach out for some more thoughts beforehand.
Thanks everyone!