Instance Property

showsSelectionIndicator

A Boolean value that determines whether the selection indicator is displayed.

Declaration

var showsSelectionIndicator: Bool { get set }

Discussion

If the value of the property is true, the picker view shows a clear overlay across the current row. The default value of this property is false.

Special Considerations

On iOS 7 and later you cannot customzie the picker view’s selection indicator. The selection indicator is always shown, so setting this property to false has no effect.