---
title: trackingImageView
framework: visionkit
role: symbol
role_heading: Instance Property
path: visionkit/imageanalysisoverlayview/trackingimageview
---

# trackingImageView

The image view that contains the image.

## Declaration

```swift
@MainActor weak final var trackingImageView: NSImageView? { get set }
```

## Mentioned in

Enabling Live Text interactions with images

## Discussion

Discussion Optionally, set this property to the image view that contains the image, and the overlay view automatically calculates the contentsRect property value based on the image view properties.

## See Also

### Configuring overlay views

- [delegate](visionkit/imageanalysisoverlayview/delegate.md)
- [analysis](visionkit/imageanalysisoverlayview/analysis.md)
- [preferredInteractionTypes](visionkit/imageanalysisoverlayview/preferredinteractiontypes.md)
- [ImageAnalysisOverlayView.InteractionTypes](visionkit/imageanalysisoverlayview/interactiontypes.md)
- [activeInteractionTypes](visionkit/imageanalysisoverlayview/activeinteractiontypes.md)
