interaction(_:liveTextButtonDidChangeToVisible:)
Notifies your app when the Live Text button’s visibility changes.
Declaration
@MainActor func interaction(_ interaction: ImageAnalysisInteraction, liveTextButtonDidChangeToVisible visible: Bool)Parameters
- interaction:
The interaction object for which the Live Text button appears.
- visible:
trueif the Live Text button appears; otherwise,false.