<!--
{
  "availability" : [
    "iOS: -",
    "iPadOS: -",
    "visionOS: 26.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "RealityKit",
  "identifier" : "/documentation/RealityKit/ImagePresentationComponent/desiredViewingMode",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "RealityKit"
    ],
    "preciseIdentifier" : "s:17RealityFoundation26ImagePresentationComponentV18desiredViewingModeAC0gH0Vvp"
  },
  "title" : "desiredViewingMode"
}
-->

# desiredViewingMode

The user-selected preferred content viewing mode.

```
var desiredViewingMode: ImagePresentationComponent.ViewingMode
```

## Discussion

The `viewingMode` property will update to this value if it is valid for this component’s content,
otherwise a suitable fallback will be used.

---

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)