---
title: didApplyConstraints()
framework: spritekit
role: symbol
role_heading: Instance Method
path: spritekit/skscene/didapplyconstraints()
---

# didApplyConstraints()

Tells your app to peform any necessary logic after constraints are applied.

## Declaration

```swift
func didApplyConstraints()
```

## Mentioned in

Responding to Frame-Cycle Events

## Discussion

Discussion Do not call this method directly; it is called exactly once per frame, so long as the scene is presented in a view and is not paused. By default, this method does nothing. Your scene subclass should override this method and perform any necessary updates to the scene.

## See Also

### Responding to Frame-Cycle Events

- [Responding to Frame-Cycle Events](spritekit/responding-to-frame-cycle-events.md)
- [update(_:)](spritekit/skscene/update(_:).md)
- [didEvaluateActions()](spritekit/skscene/didevaluateactions().md)
- [didSimulatePhysics()](spritekit/skscene/didsimulatephysics().md)
- [didFinishUpdate()](spritekit/skscene/didfinishupdate().md)
