Enumeration

UITableViewCell.FocusStyle

The style of focused cells.

Declaration

enum FocusStyle : Int

Overview

You use these constants to set the value of the focusStyle property.

Topics

Constants

case `default`

The cell will alter its appearance in a standard, system-defined way when it becomes focused. This is the default focus style.

case custom

The cell will not alter its appearance automatically when it becomes focused. Specifying this style allows you to create your own custom appearance for the cell. It is recommended that you create custom-looking cells by subclassing UITableViewCell and overriding didUpdateFocus(in:with:).

See Also

Managing Focus

var focusStyle: UITableViewCell.FocusStyle

The appearance of the cell when focused.