RRScalingMode

enum RRScalingMode {}

Scaling mode for visual content.

  • The content is scaled to fit into the slot’s frame without overflowing.

    Declaration

    Objective-C

    RRAspectFit = 0
  • The content is scaled to fill the slots frame which can result into overflow.

    Declaration

    Objective-C

    RRAspectFill = 1
  • The content is scaled to match the height of the slot’s frame

    Declaration

    Objective-C

    RRScaleToHeight = 2
  • The content is scaled to match the width of the slot’s frame

    Declaration

    Objective-C

    RRScaleToWidth = 3