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

# colorPickerViewController(_:didSelect:continuously:)

Informs the delegate when a user selects a color, indicating whether the update is part of a continuous user interaction.

```
optional func colorPickerViewController(_ viewController: UIColorPickerViewController, didSelect color: UIColor, continuously: Bool)
```

## Parameters

`viewController`

The color picker.

`color`

The new color.

`continuously`

A Boolean value that indicates whether the update is part of a continuous user interaction.

## Discussion

A continuous selection is always followed by a noncontinuous one when the user finishes the gesture. Apps that support undoing should update their UI for all color changes but only undo to noncontinuous color changes.

---

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)