<!--
{
  "availability" : [
    "iOS: 16.0.0 -",
    "iPadOS: 16.0.0 -",
    "macCatalyst: 16.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "UIKit",
  "identifier" : "/documentation/UIKit/UIDocumentProperties/wantsIconRepresentation",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "UIKit"
    ],
    "preciseIdentifier" : "c:objc(cs)UIDocumentProperties(py)wantsIconRepresentation"
  },
  "title" : "wantsIconRepresentation"
}
-->

# wantsIconRepresentation

A Boolean value that determines whether to render an icon of the document in the navigation bar.

```
var wantsIconRepresentation: Bool { get set }
```

## Discussion

If the value is <doc://com.apple.documentation/documentation/Swift/true>, an icon representation of the document appears on the leading edge of the document’s title in the navigation bar.

---

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)