---
title: objectID
framework: avfoundation
role: symbol
role_heading: Instance Property
path: avfoundation/avmetadatasalientobject/objectid
---

# objectID

An integer value that defines the unique identifier of an object in a picture.

## Declaration

```swift
var objectID: Int { get }
```

## Discussion

Discussion When an object enters the picture, it’s assigned a new, unique identifier.
