overlayView(_:liveTextButtonDidChangeToVisible:)
Notifies your app when the Live Text button’s visibility changes.
Declaration
@MainActor func overlayView(_ overlayView: ImageAnalysisOverlayView, liveTextButtonDidChangeToVisible visible: Bool)Parameters
- overlayView:
The associated overlay view for the Live Text button.
- visible:
trueif the Live Text button appears; otherwise,false.