Color Picker
-
Provides the Color Picker user interface.
Present this view controller to display the color picker. Do not push it onto a navigation controller stack. In horizontally and vertically regular size class environments, for instance on iPad and Mac, the picker will be presented as a popover. This means that you must set
sourceView
or other similar properties on the view controller’spopoverPresentationController
before presentation.To review examples of
See moreColorPickerViewController
in use, runpod try Alderis
.Declaration
Swift
@objc(HBColorPickerViewController) open class ColorPickerViewController : UIViewController
-
ColorPickerConfiguration is used to configure an instance of
See moreColorPickerViewController
.Declaration
Swift
@objc(HBColorPickerConfiguration) open class ColorPickerConfiguration : NSObject
-
Use
See moreColorPickerDelegate
to handle the user’s response toColorPickerViewController
.Declaration
Swift
@objc(HBColorPickerDelegate) public protocol ColorPickerDelegate : NSObjectProtocol
-
An enumeration of the tabs
See moreColorPickerViewController
features. Use these enumeration values to set tab-related settings onColorPickerConfiguration
.Declaration
Swift
@objc(HBColorPickerTab) public enum ColorPickerTab : Int, CaseIterable