<!--
{
  "availability" : [
    "iOS: 8.0.0 -",
    "iPadOS: 8.0.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 10.11.0 -",
    "tvOS: 10.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "PhotoKit",
  "identifier" : "/documentation/Photos/PHAdjustmentData/formatVersion",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "Photos"
    ],
    "preciseIdentifier" : "c:objc(cs)PHAdjustmentData(py)formatVersion"
  },
  "title" : "formatVersion"
}
-->

# formatVersion

A version number for the adjustment data format.

```
var formatVersion: String { get }
```

## Discussion

Set this identifier when creating an adjustment object with the [`init(formatIdentifier:formatVersion:data:)`](/documentation/Photos/PHAdjustmentData/init(formatIdentifier:formatVersion:data:)) method.

Read this property, and the [`formatIdentifier`](/documentation/Photos/PHAdjustmentData/formatIdentifier) property, to determine whether the adjustment data saved with an asset was created by your app or is otherwise compatible with your app.

For example, in the first version of your app, you might save adjustment data using the identifier `com.example.myApp` and version `1.0`. If a later version of your app adds incompatible information to the adjustment data, you can use the same identifier and increase the version number to `2.0`.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)