ColorDisplayMode

public enum ColorDisplayMode : String, CaseIterable
extension ColorDisplayMode: CustomDebugStringConvertible

Undocumented

    • Use device specified display mode of the interface

    Declaration

    Swift

    case device
    • Use inversed device specified display mode of the interface

    Declaration

    Swift

    case deviceInverse
    • Use normal contrast level regardless of device accessibility contrast setting

    Declaration

    Swift

    case normalConstant
    • Use high contrast level regardless of device accessibility contrast setting

    Declaration

    Swift

    case highConstant
  • Helper function to return an opposite color display mode of current value.

    Declaration

    Swift

    public func inverse() -> ColorDisplayMode

    Return Value

    inverse of current color display mode.