---
title: setNeedsTouchBarUpdate()
framework: uikit
role: symbol
role_heading: Instance Method
path: uikit/uiviewcontroller/setneedstouchbarupdate()
---

# setNeedsTouchBarUpdate()

Tells the system to update the Touch Bar.

## Declaration

```swift
func setNeedsTouchBarUpdate()
```

## Discussion

Discussion Call this method when the value from childViewControllerForTouchBar changes.

## See Also

### Managing the Touch Bar

- [childViewControllerForTouchBar](uikit/uiviewcontroller/childviewcontrollerfortouchbar.md)
