Home > Software design >  How to display only grid tab on UIColorPickerViewController in Swift/iOS?
How to display only grid tab on UIColorPickerViewController in Swift/iOS?

Time:09-21

I used the new UIColorPickerViewController in iOS 14.

I would like to display to the user only the first tab of picker (Grid color part) without other tabs.

Is it possible ? How to get this rendering?

CodePudding user response:

Based on Apple documentation for UIColorPickerViewController it is not possible.

You could only set a selectedColor and supportsAlpha parameters.

  • Related