setColor(_:)
Sets the color of the separator bar.
Declaration
func setColor(_ color: UIColor?)Parameters
- color:
The custom color to apply to the separator. Specifying
nilremoves the custom color and returns the separator to the color specified in the storyboard file. The default color is white.