<!--
{
  "availability" : [
    "iOS: 14.0.0 -",
    "iPadOS: 14.0.0 -",
    "macCatalyst: 14.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "UIKit",
  "identifier" : "/documentation/UIKit/UIColorPickerViewControllerDelegate/colorPickerViewControllerDidFinish(_:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "UIKit"
    ],
    "preciseIdentifier" : "c:objc(pl)UIColorPickerViewControllerDelegate(im)colorPickerViewControllerDidFinish:"
  },
  "title" : "colorPickerViewControllerDidFinish(_:)"
}
-->

# colorPickerViewControllerDidFinish(_:)

Informs the delegate that the user dismissed the color picker.

```
optional func colorPickerViewControllerDidFinish(_ viewController: UIColorPickerViewController)
```

## Parameters

`viewController`

The view controller that starts dismissing.

## Discussion

The system calls this method when the user dismisses the color picker.

You can implement this method to show additional animations alongside the dismissal animation. For interactive dismissals, use the delegate of the presentation controller that manages the color picker instead.

---

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)