Package apple.uikit.protocol
Interface UIColorPickerViewControllerDelegate
-
public interface UIColorPickerViewControllerDelegateAPI-Since: 14.0
-
-
Method Summary
All Methods Instance Methods Default Methods Deprecated Methods Modifier and Type Method Description default voidcolorPickerViewControllerDidFinish(@NotNull UIColorPickerViewController viewController)In presentations (except popovers) the color picker shows a close button.default voidcolorPickerViewControllerDidSelectColor(@NotNull UIColorPickerViewController viewController)Deprecated.default voidcolorPickerViewControllerDidSelectColorContinuously(@NotNull UIColorPickerViewController viewController, @NotNull UIColor color, boolean continuously)Called when the selected color changes.
-
-
-
Method Detail
-
colorPickerViewControllerDidFinish
default void colorPickerViewControllerDidFinish(@NotNull @NotNull UIColorPickerViewController viewController)In presentations (except popovers) the color picker shows a close button. If the close button is tapped, the view controller is dismissed and `colorPickerViewControllerDidFinish:` is called. Can be used to animate alongside the dismissal.
-
colorPickerViewControllerDidSelectColor
@Deprecated default void colorPickerViewControllerDidSelectColor(@NotNull @NotNull UIColorPickerViewController viewController)Deprecated.Called when the `selectedColor` changes. API-Since: 14.0 Deprecated-Since: 15.0
-
colorPickerViewControllerDidSelectColorContinuously
default void colorPickerViewControllerDidSelectColorContinuously(@NotNull @NotNull UIColorPickerViewController viewController, @NotNull @NotNull UIColor color, boolean continuously)Called when the selected color changes.- Parameters:
viewController- This color picker.color- The new selected colorcontinuously- YES, if this update is part of a continuous user interaction (e.g. dragging through the spectrum). It's recommended to show these updates in your UI but to not include them in any undo operations. API-Since: 15.0
-
-