Attributes to manage the appearance of the collection view's layout.


class TVCollectionViewFullScreenLayoutAttributes : UICollectionViewLayoutAttributes


Modifying Cell Appearance

var contentBleed: UIEdgeInsets

The amount of content that bleeds into the masked portions of the cell.

var cornerRadius: CGFloat

The radius to use when drawing rounded corners for the cell.

var maskAmount: CGFloat

The amount of masking to apply to the cell.

Modifying the Parallax Effect

var parallaxOffset: CGFloat

The number of points by which to shift the background from the center when moving focus.

Managing Cell Position

var normalizedPosition: CGFloat

A value that indicates the distance of the current cell from the collection view's center cell.


Conforms To

See Also

Collection View

Creating Immersive Experiences Using a Fullscreen Layout

FullScreenLayout is a great new way to build and deliver and immersive content for tvOS apps.

class TVCollectionViewFullScreenLayout

A collection view layout that organizes items into a browsable, full-screen display format.

protocol TVCollectionViewDelegateFullScreenLayout

Methods that send notifications of events during cell transitions.

class TVCollectionViewFullScreenCell

A full-screen cell used in full-screen display format.