---
title: presentationAnimationDidFinish()
framework: social
role: symbol
role_heading: Instance Method
path: social/slcomposeserviceviewcontroller/presentationanimationdidfinish()
---

# presentationAnimationDidFinish()

Tells the compose view controller that the presentation animation is finished.

## Declaration

```swift
func presentationAnimationDidFinish()
```

## Discussion

Discussion Implement this method to avoid performing lengthy work during initialization or the iOS view controller methods viewWillAppear(_:) and viewDidAppear(_:).

## See Also

### Responding to Lifecycle Events

- [didSelectCancel()](social/slcomposeserviceviewcontroller/didselectcancel().md)
- [didSelectPost()](social/slcomposeserviceviewcontroller/didselectpost().md)
