---
title: updatePropertiesIfNeeded()
framework: uikit
role: symbol
role_heading: Instance Method
path: uikit/uiviewcontroller/updatepropertiesifneeded()
---

# updatePropertiesIfNeeded()

Forces an immediate properties update for this view controller and its view, including any view controllers and views in this subtree.

## Declaration

```swift
func updatePropertiesIfNeeded()
```

## See Also

### Managing the view’s properties

- [UIViewController.ViewLoading](uikit/uiviewcontroller/viewloading.md)
- [updateProperties()](uikit/uiviewcontroller/updateproperties().md)
- [setNeedsUpdateProperties()](uikit/uiviewcontroller/setneedsupdateproperties().md)
