<!--
{
  "availability" : [
    "watchOS: 2.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "WatchKit",
  "identifier" : "/documentation/WatchKit/WKImage/imageData",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "WatchKit"
    ],
    "preciseIdentifier" : "c:objc(cs)WKImage(py)imageData"
  },
  "title" : "imageData"
}
-->

# imageData

The data object containing the raw image data.

```
var imageData: Data? { get }
```

## Discussion

The value in this property is set using the [`init(imageData:)`](/documentation/WatchKit/WKImage/init(imageData:)) method. For image objects created using other methods, this property is `nil`.

---

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)