---
title: willActivate()
framework: watchkit
role: symbol
role_heading: Instance Method
path: watchkit/wkinterfacecontroller/willactivate()
---

# willActivate()

Tells the interface controller that the system is about to activate its view.

## Declaration

```swift
func willActivate()
```

## Mentioned in

Working with the watchOS app life cycle Navigating Between Scenes

## Discussion

Discussion The system calls this method when it is getting ready to display your interface controller. Use this method to perform last minute tasks required to ensure your content is up to date. Do not use this method to perform the initial setup of your interface. Your interface should be mostly initialized and ready to use by the time this method is called. The calling of this method is not a guarantee that your interface controller is onscreen or about to appear onscreen. The system may call this method early to give you time to update your content.  Use the didAppear() method to determine when your interface appears onscreen. The system calls this method on your WatchKit extension’s main thread. The super implementation of this method does nothing.

## See Also

### Responding to activation and appearance events

- [didDeactivate()](watchkit/wkinterfacecontroller/diddeactivate().md)
- [didAppear()](watchkit/wkinterfacecontroller/didappear().md)
- [willDisappear()](watchkit/wkinterfacecontroller/willdisappear().md)
