Contents

imageShape

The intended aspect ratio or shape of the content image.

Declaration

var imageShape: TVContentItemImageShape { get set }

Discussion

When the TV Content object is being used to represent Top Shelf items, then the allowed values for this property depend on the topShelfStyle property of the object that implements the TV TopShelf extension. For more information, see TVTopShelfProvider.

If the topShelfStyle value is TVTopShelfContentStyle.inset, the valid values of this property are:

If the topShelfStyle value is TVTopShelfContentStyle.sectioned, the valid values are:

If the value of this property is not valid for the current Top Shelf style, the system reserves the right to scale the image in any way.

See Also

Inspecting the Content Properties