it helps some times My iOS app uses TouchID to unlock some secure services. The designer doesn't want the Cancel button's text to read Cancel, but to rather read "Setup Later." I can see how to change the text of the default "Enter Password" button, that's easy: , Yes, you can from version 10.0. Documentation:
I hope this helps you . Not every API Apple publishes makes it into the documentation on developer.apple.com (or in Xcode's docs viewer). The API diffs list public APIs, so anything you see there is in the header files (see LocalAuthentication/LAContext.h) and the Swift interfaces generated from those headers. And anything that's in the headers is a public API, so you're free to call it. Sometimes (but not always) the undocumented APIs have decent header comments explaining how to use them... thankfully LAContext.invalidate() is one of these:
/// Invalidates the context.
/// @discussion The context is invalidated automatically when it is (auto)released. This method
/// allows invalidating it manually while it is still in scope.
/// Invalidation terminates any existing policy evaluation and the respective call will
/// fail with LAErrorAppCancel. After the context has been invalidated, it can not be
/// used for policy evaluation and an attempt to do so will fail with LAErrorInvalidContext.
/// Invalidating a context that has been already invalidated has no effect.
@available(iOS 9.0, *)
public func invalidate()
Where exactly are dialog text, OK button, and Cancel buttons defined or inherited from in CodenameOne?