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

# didSelectPost()

Sent to the compose view after the post animation finishes.

```
func didSelectPost()
```

## Discussion

By default, this method calls the completeRequestReturningItems: method of the associated <doc://com.apple.documentation/documentation/UIKit/UIViewController/extensionContext> property, passing `nil` in the `items` array and a `nil` expiration handler. You must override `didSelectPost` to perform the post of [`contentText`](/documentation/Social/SLComposeServiceViewController/contentText) and any attachments. In your implementation of this method, you can call `super` to take advantage of the default completion handler; if you don’t call `super`, you must call the completion method of the extension context.

---

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)