---
title: hidePalettes()
framework: InputMethodKit
role: symbol
role_heading: Instance Method
platforms: [macOS 10.5+]
path: inputmethodkit/imkinputcontroller/hidepalettes()
---

# hidePalettes()

Informs an input method that it should  close any visible user interface.

## Declaration

```swift
func hidePalettes()
```
