<!--
{
  "availability" : [
    "iOS: 10.0.0 -",
    "iPadOS: 10.0.0 -",
    "macCatalyst: 13.1.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "SiriKit",
  "identifier" : "/documentation/IntentsUI/INUIHostedViewSiriProviding/displaysMessage",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "IntentsUI"
    ],
    "preciseIdentifier" : "c:objc(pl)INUIHostedViewSiriProviding(py)displaysMessage"
  },
  "title" : "displaysMessage"
}
-->

# displaysMessage

A Boolean indicating whether your view controller replaces the default message interface that Siri provides.

```
optional var displaysMessage: Bool { get }
```

## Discussion

Implement this property and return <doc://com.apple.documentation/documentation/Swift/true> when you want your view controller to display the content and recipients of a message. For example, you might return <doc://com.apple.documentation/documentation/Swift/true> when you want to provide a customized message interface. If you do not implement this property, or your implementation returns <doc://com.apple.documentation/documentation/Swift/false>, Siri displays the message recipients and content using its own interface.

---

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)