---
title: "pushConfigurationViewController(_:)"
framework: social
role: symbol
role_heading: Instance Method
path: "social/slcomposeserviceviewcontroller/pushconfigurationviewcontroller(_:)"
---

# pushConfigurationViewController(_:)

Presents a configuration view controller that lets the user configure the post.

## Declaration

```swift
func pushConfigurationViewController(_ viewController: UIViewController!)
```

## Parameters

- `viewController`: The view controller that manages the type of configuration the user selected.

## Discussion

Discussion Typically, this method is called in the tap handler for a configuration item. A user selects a configuration item from the list displayed in the compose view and the associated configuration view controller is displayed. Only one configuration view controller can be visible at a time. Note that your custom configuration view controller should set its preferredContentSize property to an appropriate value. SLComposeServiceViewController observes changes to the preferredContentSize property and animates view size changes if necessary.

## See Also

### Presenting the View Controller

- [popConfigurationViewController()](social/slcomposeserviceviewcontroller/popconfigurationviewcontroller().md)
