---
title: "setSupplementaryInterfaceHidden(_:animated:)"
framework: visionkit
role: symbol
role_heading: Instance Method
path: "visionkit/imageanalysisinteraction/setsupplementaryinterfacehidden(_:animated:)"
---

# setSupplementaryInterfaceHidden(_:animated:)

Hides or shows supplementary interface objects, such as the Live Action button and Quick Actions, depending on the item type.

## Declaration

```swift
@MainActor final func setSupplementaryInterfaceHidden(_ hidden: Bool, animated: Bool)
```

## Parameters

- `hidden`: true to hide the supplementary interface; otherwise, false.
- `animated`: true to animate the interface transition; otherwise, false.

## See Also

### Customizing the interface

- [allowLongPressForDataDetectorsInTextMode](visionkit/imageanalysisinteraction/allowlongpressfordatadetectorsintextmode.md)
- [supplementaryInterfaceContentInsets](visionkit/imageanalysisinteraction/supplementaryinterfacecontentinsets.md)
- [supplementaryInterfaceFont](visionkit/imageanalysisinteraction/supplementaryinterfacefont.md)
