<!--
{
  "availability" : [
    "iOS: 8.0.0 -",
    "iPadOS: 8.0.0 -",
    "macCatalyst: 13.1.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Social",
  "identifier" : "/documentation/Social/SLComposeServiceViewController/pushConfigurationViewController(_:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "Social"
    ],
    "preciseIdentifier" : "c:objc(cs)SLComposeServiceViewController(im)pushConfigurationViewController:"
  },
  "title" : "pushConfigurationViewController(_:)"
}
-->

# pushConfigurationViewController(_:)

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

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

## Parameters

`viewController`

The view controller that manages the type of configuration the user selected.

## 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 <doc://com.apple.documentation/documentation/UIKit/UIViewController/preferredContentSize> property to an appropriate value. `SLComposeServiceViewController` observes changes to the <doc://com.apple.documentation/documentation/UIKit/UIViewController/preferredContentSize> property and animates view size changes if necessary.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)